简体   繁体   English

vscode.WorkSpaceEdit:它可用于当前未在编辑器中打开的文件

[英]vscode.WorkSpaceEdit: does it work on files that are currently not opened in the editor

从文档中,我不清楚WorkspaceEdits是否仅影响当前打开的文件,或者vscode是否足够智能以更改当前关闭的文件。

A WorkspaceEdit is applied to a workspace, defined as "A representation of the folder that has been opened" as described here . 甲WorkspaceEdit被施加到工作区中,定义为如所描述的“已被打开的文件夹的表示” 在这里

The workspace is inherently the open folder in the explorer view, but the files affected by the workspaceEdit do not have to be open in the editor view for it take effect. 工作空间本质上是资源管理器视图中的打开文件夹,但是受工作空间编辑影响的文件不必在编辑器视图中打开即可生效。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在当前编辑器组中显示打开文件的任何快捷方式或命令 - VSCode - Any shortcut or command to show opened files in current editor group - VSCode 为什么我的代码在 REPL 中有效,但在文本编辑器 (VSCode) 中无效? - Why does my code work in the REPL but not in the text editor (VSCode)? 代码 | 由于意外错误,无法打开编辑器 - VSCode | The editor cannot be opened due to an unexpected error 仅在 vscode 中查看打开的文件而不是选项卡 - Viewing only opened files in vscode instead of tabs vscode 在文件侧边栏中查找打开的文件 - vscode find opened file in files sidebar 仅适用于当前打开的文件的 VSCode 过滤器问题选项卡 - VSCode Filter Problems tab for currently opened file only React 建议和自动完成不适用于 VSCode 中带有 js 扩展名的文件 - React suggestions and autocomplete does not work for files with js extension in VSCode 如何仅在 vscode 中当前打开的文件中进行搜索? - How to search only in currently open files in vscode? 在 VSCode 中,自动导入仅适用于最近打开的文件 - In VSCode autoimport works for recently opened files only 使用 VSCode 终端复制 Makefile 中的所有 cpp 文件不起作用 - Copying all the cpp files in a Makefile using VSCode Terminal does not work
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM