diff --git a/.gitignore b/.gitignore index 6ba0386..5fe00fe 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,3 @@ out node_modules .vscode-test/ *.vsix -dist \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json index 90d92e6..a2b7594 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -42,7 +42,7 @@ "--extensionDevelopmentPath=${workspaceFolder}", "--extensionTestsPath=${workspaceFolder}/out/test/suite/index" ], - "outFiles": ["${workspaceFolder}/dist/test/**/*.js"], + "outFiles": ["${workspaceFolder}/out/test/**/*.js"], "preLaunchTask": "${defaultBuildTask}" } ] diff --git a/README.md b/README.md index 5c188c0..45adc74 100644 --- a/README.md +++ b/README.md @@ -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!** +# 用于学习交流 \ No newline at end of file diff --git a/package.json b/package.json index 1cf9cc7..38bde52 100644 --- a/package.json +++ b/package.json @@ -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": [ { diff --git a/src/extension.ts b/src/extension.ts index c5aa169..f6e4c39 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -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') }) // 当插件关闭时被清理的可清理列表 diff --git a/webpack.config.js b/webpack.config.js index 9825488..2b04a38 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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)