Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

effect the snippets for .gitignore #273

Open
WXZhao7 opened this issue Dec 29, 2021 · 0 comments
Open

effect the snippets for .gitignore #273

WXZhao7 opened this issue Dec 29, 2021 · 0 comments

Comments

@WXZhao7
Copy link

WXZhao7 commented Dec 29, 2021

I find this extension will cancel the custom snippets in .gitignore.
I create snippets in ~/.config/Code/User/snippets/gitignore.json. example:

	"test":{
		"prefix": "aha",
		"body": "vs-shell-format"
	}

This is my setting.json

    "editor.tabCompletion": "on",
    "editor.snippetSuggestions": "top",
    "shellformat.effectLanguages": [
        "shellscript",
    ],

Although I set the effectLanguages, the snippets can't work until vs-shell-format is disabled.

The language support for .gitignore is provided by gitignore.
vs-shell-format

@WXZhao7 WXZhao7 changed the title effect the snippets for .gitgnore effect the snippets for .gitignore Dec 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant