How can I add language-agnostic snippets in vscode?
问题 As an example I would like to add "lorem ipsum" as a snippet, so I can quickly insert it where I want. I don't want it do be tied to a specific language, as I might use it in multiple places like HTML, Jade, even JS/TS. Is there like a global.json for snippets, or any other way to do this? 回答1: Global snippets were added in v1.10 Feb., 2018 see global snippets VS Code now supports global snippets meaning snippets that aren't scoped to a single language but can target any kind of files. Using