[英]Can I, when opening a folder in VSC, choose whether I replace the current window or open the folder in a new window?
What I'm looking for is the ability to choose, on the spot, from the VSC app eg open folder...我正在寻找的是能够当场从 VSC 应用程序中进行选择,例如打开文件夹...
You can install the Open Folder Context Menus for VS Code extension to have two more context menus to your explorer:您可以安装VS Code扩展的打开文件夹上下文菜单,以便为您的资源管理器提供另外两个上下文菜单:
This can probably gives you the option you're looking for "on the spot".这可能会为您提供“现场”寻找的选项。
But my suggested way you can also take is to use the terminal to do this eg code yourDesiredFolderPath -r
to force opening a file or folder in an already opened window, or code yourDesiredFolderPath -n
to force opening it in a new window.但我建议您也可以采用的方法是使用终端来执行此操作,例如
code yourDesiredFolderPath -r
以强制在已打开的窗口中打开文件或文件夹,或code yourDesiredFolderPath -n
以强制在新窗口中打开它。 (See the other options by code -h
in your terminal) (通过终端中的
code -h
查看其他选项)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.