diff --git a/.gitignore b/.gitignore index 5df8049..76b5a59 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ out node_modules +*.vsix diff --git a/README.md b/README.md index 557dd17..2cdb429 100644 --- a/README.md +++ b/README.md @@ -1,65 +1,5 @@ # go-quickly-generator README -This is the README for your extension "go-quickly-generator". After writing up a brief description, we recommend including the following sections. +the extension is easy to generate getter or setter . -## 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!** +![example](example.webp) diff --git a/example.webp b/example.webp new file mode 100644 index 0000000..5eef65d Binary files /dev/null and b/example.webp differ diff --git a/package.json b/package.json index ed16e1c..14967f3 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "displayName": "go-quickly-generator", "description": "create code quickly", "version": "1.0.0", + "publisher": "474420502", "engines": { "vscode": "^1.38.0" }, diff --git a/src/extension.ts b/src/extension.ts index 6ceeefb..6fe462d 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -120,7 +120,7 @@ function activate(context: vscode.ExtensionContext) { } }); } else { - vscode.window.showErrorMessage("there is no struct(go) to focus. you can move point to struct(go)"); + vscode.window.showErrorMessage("there is no struct(go) to focus. please move cursor in the code of struct."); } })); diff --git a/src/testfile/main.go b/src/testfile/main.go index 33c8a54..1366c77 100644 --- a/src/testfile/main.go +++ b/src/testfile/main.go @@ -55,7 +55,7 @@ func DoFunc(a func( return } -// ExStruct 升级 +// ExStruct my struct type ExStruct struct { ChildStruct struct { age int