VSCode有自动保存代码的功能,而且有好几种自动保存的模式选择,设置方法如下:进入“>文件>首选项>设置”,之后你可以搜索关键字“save”找到如下可以看到一共有4种选择: off:关闭自动保存,...这是默认选项 afterDelay:会每隔若干秒保存一次 OnFocusChange: 编辑器是去焦点时自动保存文件,比如说你打开了多个文件,你编...
VS Code Version: OS Version: I have about a dozen mixed .c, .h and .txt files open in VSC. "Find in files" (CTRL-SHIFT-F) does not find matches in open or non-open files - only in the current selected file. I can have nothing, or add . o...
Alt+Z 切换换行 Toggle word wrap 导航 Navigation 按Press 功能Function Ctrl + T 显示所有符号 Show all Symbols Ctrl + G 转到行… Go to Line… Ctrl + P 转到文件… Go to File… Ctrl + Shift + O 转到符号… Go to Symbol… Ctrl + Shift + M 显示问题面板 Show Problems panel F8 转到下...
Once you find the file, hitEnterto open it. You can start typing the name of the file to only show file names that contain the specified text. You can also type an extension, e.g..tsto only show the TypeScript files in your project. You can view the keyboard shortcut for the comma...
{"key":"ctrl+-","command":"editor.action.moveSelectionToPreviousFindMatch","when":"editorFocus"},//当前文件查找{"key":"ctrl+f","command":"actions.find"},//文件夹中查找{"key":"alt+f","command":"workbench.view.search"},{"key":"alt+f","command":"workbench.action.findInFiles","...
Ctrl+/切换行注释 Toggle line commentShift+Alt+A切换块注释 Togglock commentAlt+Z切换换行 Toggle word wrap搜索和替换 Search and replaceCtrl + F查找 FindCtrl + H替换 ReplaceF3 / Shift + F3查找下一个/上一个 Find next/previousAlt + Enter选择查找匹配的所有出现 Select all occurenof Find match ...
Alt+Z切换换行 Toggle word wrap 导航Navigation 代码语言:javascript 复制 按Press 功能 Function Ctrl+T显示所有符号 Show all Symbols Ctrl+G转到行...Go to Line...Ctrl+P转到文件...Go to File...Ctrl+Shift+O转到符号...Go to Symbol...Ctrl+Shift+M显示问题面板 Show Problems panelF8转到下一个错...
Ctrl+K OShow active file in new window/instance 新窗口/实例中打开当前文件 搜索替换 Ctrl+FFind 查找, 先选中后按,直接输入选中 Ctrl+HReplace 替换 F2Rename Symbol 重命名变量 查找替换 Alt+C / R / WToggle case-sensitive / regex / whole word 匹配模式为区分大小写/正则/全词(分别切换,可同时开...
Alt+Z 切换换行 Toggle word wrap 导航Navigation 按Press功能Function Ctrl + T 显示所有符号 Show all Symbols Ctrl + G 转到行... Go to Line... Ctrl + P 转到文件... Go to File... Ctrl + Shift + O 转到符号... Go to Symbol... Ctrl + Shift + M 显示问题面板 Show Problems panel F8...
commands.openFolder Open file/folder in vscode "Open file": { "command": "commands.openFolder", "args": "C:\\temp\\temp.txt",// Accepts array ["C:/temp/1.txt","C:/temp/2.txt"] }, "Open relative file": { "command": "commands.openFolder", "args": "./package.json",// ...