How to add common language snippets in Visual Studio Code?

后端 未结 2 1352
梦如初夏
梦如初夏 2021-02-20 14:12

In official vscode documentation i have seen that is possible to create custom snippets for each language. https://code.visualstudio.com/Docs/customization/userdefinedsnippets

2条回答
  •  日久生厌
    2021-02-20 14:54

    Common users snippets are currently not supported, but there is a VSCode issue tracking this feature request. Please let us know if this is something you would find useful.


    For completeness, VSCode extensions can register the same snippets for multiple languages but they must explicitly specify all languages they provide snippets for (there is no "language": "*" option).

提交回复
热议问题