简体   繁体   中英

In VSCode how do you select a whole word with - in it?

IE: say I double click "LAYOUT:MENU-TRADE": I want to select the entire constant. Or at least the entire MENU-TRADE part.

在此输入图像描述

In atom I can accomplish this by removing - as an ignored character. How is this accomplished in VSCode?

You can accomplish this by customizing your editor.wordSeparators . Simply remove "-" from the list.

在此输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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