vscode双击选中单词,设置短横线不分隔 打开设置,搜索editor.wordSeparators 将里面的短横线删除即可: "editor.wordSeparators": "`~!@#$%^&*()=+[{]}|;:'",.<>/?",