Is there a keyboard shortcut or an extension that would allow me to select a block of code? I'd like to select everything between curly braces, between html tags, etc.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Try the expand-region extension. It currently works for javascript and html. To select ever-increasing or decreasing scope.
回答2:
Use alt
+ shift
+ →
to expand selection between braces or tags,
Use alt
+ shift
+ ←
to shrink selection between braces or tags.
Here is vc shortcuts cheatsheet that might help you.