-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Add a way to edit/disable snippets. #3083
Copy link
Copy link
Closed
Labels
Feature RequestLanguage ServicefixedCheck the Milestone for the release in which the fix is or will be available.Check the Milestone for the release in which the fix is or will be available.quick fixregressionA bug that didn't exist in a previous releaseA bug that didn't exist in a previous release
Milestone
Metadata
Metadata
Assignees
Labels
Feature RequestLanguage ServicefixedCheck the Milestone for the release in which the fix is or will be available.Check the Milestone for the release in which the fix is or will be available.quick fixregressionA bug that didn't exist in a previous releaseA bug that didn't exist in a previous release
Since commit c727cec snippets can't be neither edited nor disabled.
I use my personal snippets for C/C++, because I don't like the style used in the extension's snippets, so I disabled them using the
C_Cpp.ToggleSnippetscommand.I know snippets suggestion have recently been moved from
cpp_snippets.jsonto the lexer (hardcoded) (see #2942 and #2945). I suggest that you put them in a configuration json file, where they can be edited/disabled (but NOT added, for that vscode has its own file). The lexer could then parse that file and do context-aware suggestions as it did before.