VS Code:有没有办法打开一个打开bash配置文件的项目

时间:2017-06-30 10:02:09

标签: bash visual-studio-code .bash-profile .profile

我希望能够快速启动包含3个文件的VS Code项目: 在〜/ .bash_profile 〜/ .profile文件 在〜/ .bashrc 因为我经常想要一次编辑所有3,如果我需要调整的东西。 有没有办法从3中创建项目,然后能够在下次打开项目文件?

1 个答案:

答案 0 :(得分:1)

如何在快捷方式中将文件添加为参数。或者在副本上工作创建一个简单的.bat,它将文件复制到一个新文件夹中并打开它。

修改:添加-n选项,来自文档:https://code.visualstudio.com/docs/editor/command-line

-n or --new-window  Opens a new session of VS Code instead of restoring the previous session (default).
相关问题