VSCode 在启动时打开特定文件
VSCode open specific file on startup
目前是否可以在 VSCode 中设置启动时打开特定文件?
我安装了 'To Do Tasks' 扩展,我想在每次加载 VSCode 时默认打开我的 TODO 文件。
使用版本 1.12.1
Edit: I think the best way is to use extensions that can run commands on startup. Example is: Auto Run Command
您可以为命令 code "path/to/file.todo"
创建一些快捷方式或
更改 link 的选项。
例如(windows):
link => 属性 => 快捷方式 => 目标 => "C:\Program Files (x86)\Microsoft VS Code\Code.exe" "D:/howto.todo"
另一种方法是Pin editors。通过设置 "workbench.editor.pinnedTabSizing": "compact",
他们只需要很少的 space.
目前是否可以在 VSCode 中设置启动时打开特定文件? 我安装了 'To Do Tasks' 扩展,我想在每次加载 VSCode 时默认打开我的 TODO 文件。
使用版本 1.12.1
Edit: I think the best way is to use extensions that can run commands on startup. Example is: Auto Run Command
您可以为命令 code "path/to/file.todo"
创建一些快捷方式或
更改 link 的选项。
例如(windows):
link => 属性 => 快捷方式 => 目标 => "C:\Program Files (x86)\Microsoft VS Code\Code.exe" "D:/howto.todo"
另一种方法是Pin editors。通过设置 "workbench.editor.pinnedTabSizing": "compact",
他们只需要很少的 space.