跳转到 VS Code 中的结束标签? [英] Jump to Closing tag in VS Code?
问题描述
我似乎无法找到一种方法来选择括号的开头并通过某些组合键或 VS Code 中的某些内容跳转到它的结尾.例如,在 atom 中,这是通过 Ctrl + m 完成的.
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 atom, this is done with Ctrl + m.
我知道有一种方法可以使用 Cmd + Shift + 跳转到括号或花括号的开头和结尾,但是不适用于标签.有什么想法吗?
I know there is a way to jump to the beginning and end of a bracket or curlybraces with Cmd + Shift + but that does not work for tags. Any ideas?
推荐答案
可以这样做,但是可以使用 Ctrl + Shift + P -> "Emmet: Go to Matching Pair" 或者手动设置快捷键 (Ctrl + K Ctrl + S).
It is possible to do, but either using Ctrl + Shift + P -> "Emmet: Go to Matching Pair" or by manually setting a shortcut for it (Ctrl + K Ctrl + S).
很遗憾,目前没有开箱即用的支持.
Unfortunately there is currently no support for it out of the box.
这篇关于跳转到 VS Code 中的结束标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!