简体   繁体   English

如何在 Visual Studio Code 中将 cursor 跳转到文本选择的开头或结尾?

[英]How to jump the cursor to beginning or end of a text selection in Visual Studio Code?

Is there a way I can jump the cursor to the beginning of the selection so I can then select the opening bracket with shift + leftArrow?有没有办法可以将 cursor 跳到选择的开头,这样我就可以 select 用 shift + leftArrow 打开括号?

在此处输入图像描述

You can use the command selectBy.swapActive from the extension Select By v1.4.0您可以使用命令selectBy.swapActive从扩展Select By v1.4.0

You can use the Command Palette ( Swap the achor and active (cursor) position of the selection(s) ) or define a key binding.您可以使用命令面板( Swap the achor and active (cursor) position of the selection(s) )或定义键绑定。

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

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