简体   繁体   English

VSCode:如何在自动右括号后跳转?

[英]VSCode: How to jump after Auto closing bracket?

When I type ", for example, VSCode closes it automatically with second " and puts cursor in between the quotes, which makes me type the quotes content and then reach for -> key to skip the closing bracket.例如,当我键入“时,VSCode 会用第二个”自动关闭它,并将 cursor 放在引号之间,这使我键入引号内容,然后伸手去拿 -> 键以跳过右括号。 Reaching -> key is much harder than typing " on my own. So I wonder if I'm missing the intentional way to use auto closing brackets in VSCode.到达 -> 键比我自己键入“ 困难得多。所以我想知道我是否错过了在 VSCode 中使用自动右括号的有意方法。

Is there an easy way to jump past the bracket, which appeared due to "auto closing", with out use of the -> key?有没有一种简单的方法可以跳过由于“自动关闭”而出现的括号,而不使用 -> 键?

For example, with Snippets one can press "Tab" to jump to another "input section" of the Snippet.例如,使用 Snippets 可以按“Tab”键跳转到 Snippet 的另一个“输入部分”。 But with auto closing brackets "Tab" just adds tabulation sign.但是使用自动右括号“Tab”只会添加制表符。

You can press + to jump to the next line and skip the closing tags.您可以按 + 跳到下一行并跳过结束标签。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM