我希望能够快速启动一个包含 3 个文件的 VS Code 项目: ~/.bash_profile ~/.profile ~/.bashrc 因为如果我需要调整,我经常想一次编辑所有 3 个文件。有没有办法从 3 中创建一个项目,然后下次可以打开项目文件?
如何在快捷方式中添加文件作为参数。或者要处理副本,请创建一个简单的 .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).
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句