This commit is contained in:
OBKoro1 2019-12-26 21:05:27 +08:00
parent b66337b064
commit 45baadbff7
6 changed files with 14 additions and 72 deletions

1
.gitignore vendored
View File

@ -2,4 +2,3 @@ out
node_modules
.vscode-test/
*.vsix
dist

2
.vscode/launch.json vendored
View File

@ -42,7 +42,7 @@
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
],
"outFiles": ["${workspaceFolder}/dist/test/**/*.js"],
"outFiles": ["${workspaceFolder}/out/test/**/*.js"],
"preLaunchTask": "${defaultBuildTask}"
}
]

View File

@ -1,65 +1,3 @@
# autoCommit README
# autoCommit
This is the README for your extension "autoCommit". After writing up a brief description, we recommend including the following sections.
## Features
Describe specific features of your extension including screenshots of your extension in action. Image paths are relative to this README file.
For example if there is an image subfolder under your extension project workspace:
\!\[feature X\]\(images/feature-x.png\)
> Tip: Many popular extensions utilize animations. This is an excellent way to show off your extension! We recommend short, focused animations that are easy to follow.
## Requirements
If you have any requirements or dependencies, add a section describing those and how to install and configure them.
## Extension Settings
Include if your extension adds any VS Code settings through the `contributes.configuration` extension point.
For example:
This extension contributes the following settings:
* `myExtension.enable`: enable/disable this extension
* `myExtension.thing`: set to `blah` to do something
## Known Issues
Calling out known issues can help limit users opening duplicate issues against your extension.
## Release Notes
Users appreciate release notes as you update your extension.
### 1.0.0
Initial release of ...
### 1.0.1
Fixed issue #.
### 1.1.0
Added features X, Y, and Z.
-----------------------------------------------------------------------------------------------------------
## Working with Markdown
**Note:** You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:
* Split the editor (`Cmd+\` on macOS or `Ctrl+\` on Windows and Linux)
* Toggle preview (`Shift+CMD+V` on macOS or `Shift+Ctrl+V` on Windows and Linux)
* Press `Ctrl+Space` (Windows, Linux) or `Cmd+Space` (macOS) to see a list of Markdown snippets
### For more information
* [Visual Studio Code's Markdown Support](http://code.visualstudio.com/docs/languages/markdown)
* [Markdown Syntax Reference](https://help.github.com/articles/markdown-basics/)
**Enjoy!**
# 用于学习交流

View File

@ -2,6 +2,7 @@
"name": "autoCommit",
"displayName": "autoCommit",
"description": "自动提交commit到github",
"publisher": "OBkoro1",
"version": "0.0.1",
"scripts": {
"build": "vsce package",
@ -13,7 +14,11 @@
"test": "yarn run compile && node ./node_modules/vscode/bin/test"
},
"engines": {
"vscode": "^1.40.0"
"vscode": "^1.41.0"
},
"repository": {
"type": "git",
"url": "https://github.com/OBKoro1/autoCommit"
},
"categories": [
"Other"
@ -21,7 +26,7 @@
"activationEvents": [
"onCommand:extension.autoCommit"
],
"main": "./dist/extension.js",
"main": "./out/extension.js",
"contributes": {
"commands": [
{

View File

@ -2,7 +2,7 @@
* Author : OBKoro1
* Date : 2019-12-25 15:15:42
* LastEditors : OBKoro1
* LastEditTime : 2019-12-26 20:55:02
* LastEditTime : 2019-12-26 21:00:27
* FilePath : /autoCommit/src/extension.ts
* Description : 自动commit插件
* https://github.com/OBKoro1
@ -19,7 +19,7 @@ export function activate(context: vscode.ExtensionContext) {
const autoCommit = vscode.commands.registerCommand('extension.autoCommit', () => {
// new ExtensionLogic(context)
vscode.window.showInformationMessage('hello koro22221')
vscode.window.showInformationMessage('hello koro22333')
})
// 当插件关闭时被清理的可清理列表

View File

@ -2,7 +2,7 @@
* Author : OBKoro1
* Date : 2019-12-26 17:42:32
* LastEditors : OBKoro1
* LastEditTime : 2019-12-26 20:04:14
* LastEditTime : 2019-12-26 20:58:58
* FilePath : /autoCommit/webpack.config.js
* Description : webpack 配置
* https://github.com/OBKoro1
@ -15,7 +15,7 @@
const path = require('path')
const CopyWebpackPlugin = require('copy-webpack-plugin')
const outputPathName = 'dist'
const outputPathName = 'out'
const pathResolve = p => {
return path.resolve(__dirname, p)