Jump to Closing tag in VS Code?

后端 未结 5 1421
执念已碎
执念已碎 2021-01-31 01:59

I can\'t seem to find a way to select the beginning of a bracket and jump to the end of it through some key combination or something in VS Code. For example, in ato

5条回答
  •  不要未来只要你来
    2021-01-31 02:28

    For those who are using Vim plugin and Mac, Leader+% is working well for me.

    You can setup in your Vim json file setting.json by adding:

    "vim.normalModeKeyBindingsNonRecursive": [
        {
          "before": ["", "%"],
          "commands": [
            {
              "command": "editor.emmet.action.matchTag"
            }
          ]
        }
    ]
    

    PS. I mentioned Mac user because cmd+shift+5 is for capturing the screen in Mac.

提交回复
热议问题