zjffun / vscode-snippets-manager

Create and edit snippets easily.
https://marketplace.visualstudio.com/items?itemName=zjffun.snippetsmanager
MIT License
36 stars 5 forks source link

Failed to open code snippets editor. Open in default editor #10

Closed FireSK7 closed 1 month ago

FireSK7 commented 1 year ago

Prompt when trying to edit extention's snippet.

zjffun commented 1 year ago

Which extension's snippets failed to open by the code snippets editor? The file extension name of extension's snippets is .json (not .code-snippets), so we need to click the button in sidebar to open it in the code snippets editor.

Screen Shot 2023-02-18 at 16 34 26
zjffun commented 1 year ago

BTW, The snippets of vsocde-go seems has different format. I'll check it.

{
    ".source.go": {
        "single import": {
            "prefix": "im",
            "body": "import \"${1:package}\"",
            "description": "Snippet for import statement"
        },
        // ...
    },
}
Screen Shot 2023-02-18 at 16 46 07
zjffun commented 1 month ago

Closing this issue due to inactivity. Please feel free to reopen this issue if you are still running into issues and we would be happy to help troubleshoot further.