更新时间:2022-11-13 22:47:22
更新 - 从 1.3 版(2016 年 6 月)开始,可以在 Visual Studio Code 中进行搜索和替换.使用 ctrl + shift + H 可以搜索和替换所有文件中的文本.
Update - as of version 1.3 (june 2016) it is possible to search and replace in Visual Studio Code. Using ctrl + shift + H , you can search and replace text in all files.
目前看来这是不可能的(版本 1.1.1(2016 年 4 月))
It seems this is not possible at the moment (Version 1.1.1 (April 2016))
"问:是否可以全局搜索替换?
"Q: Is it possible to globally search and replace?
A:此功能尚未实现,但您可以期待它在未来推出!"
A: This feature is not yet implemented, but you can expect it to come in the future!"
https://code.visualstudio.com/Docs/editor/codebasics
这似乎也是社区要求的:https://github.com/Microsoft/vscode/issues/1690
This seems also requested by community: https://github.com/Microsoft/vscode/issues/1690