Inbuilt code snippets not available via command pallette, Ctrl-Shift-P
#8193
-
In trying to create shortcut keys/prefixes for my user-defined snippets, I would like to make sure that it does not clash with any pre-existing shortcuts/prefixes for other possibly inbuilt snippets. Is there a way to know / look through all currently available code snippets in VSCode and their shortcut keys/prefixes? I tried to Insert Snippet via the command pallette in the hope that it would reveal all available snippets. Unfortunately, it does not list all snippets. See, for instance, below image, where this command pallette does not show the existence of a See imgur animated gif link here. The documentation available at https://code.visualstudio.com/docs/editor/userdefinedsnippets seems to suggest that all snippets available should be listed either on I quote from the documentation:
I am on VSCode 1.60.2 on Ubuntu. I am on C/C++ Version 1.1.0: November 5, 2020 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Our C/C++ extension snippets are available via Ctrl+Space (autocomplete) and not the "Insert Snippet" command. You can try Ctrl+Space in an empty doc to see the snippets (and keywords too): |
Beta Was this translation helpful? Give feedback.
Our C/C++ extension snippets are available via Ctrl+Space (autocomplete) and not the "Insert Snippet" command. You can try Ctrl+Space in an empty doc to see the snippets (and keywords too):