Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Visual Studio 代码中:
我想:在编辑器中选择文本,按热键“在文件中查找”,按回车键:
结果:查找文件中选定文本的所有实例
(所以我需要将当前选择的文本副本粘贴到搜索输入字段中)
搜索 ctrl+shift+f 的默认键绑定有效 - 它使用命令:“-workbench.action.findInFilesWithSelectedText”
我有一个自定义键绑定并映射到“命令”:“-workbench.action.findInFiles”