How to set markdown snippet trigger automatically

后端 未结 2 1953
陌清茗
陌清茗 2020-12-18 05:58

According to the official document, https://code.visualstudio.com/docs/languages/markdown

Snippets for Markdown

There are

2条回答
  •  悲哀的现实
    2020-12-18 06:50

    Try setting:

    "[markdown]": {
      "editor.quickSuggestions": {
        "other": true,
        "comments": false,
        "strings": true
      },
    },
    

    This enables IntelliSense automatically when you start typing. By default, this will show snippets and word based suggestions (suggestions based on words in the current document). To disable word based suggestions, set:

    "[markdown]": {
        "editor.quickSuggestions": true,
        "editor.wordBasedSuggestions": false
    }
    

    You can also set:

    "editor.snippetSuggestions": "top"
    

    If you always want snippets to show before word base suggestions

提交回复
热议问题