You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The (file)EXPLORER which contains the file and folder tree structure of opened working directory can be enhanced to have an additional context menu"Open in new window" for folder types.
Request reason: when I have to open a directory which contains lot of repos, the current working directory is a reference root and I want it to be in vscode. So If I want to open a subdir containing an actual repo that I want to work on, I have to either open a new instance/window of vscode and issue open folder to the target subdir. This is at least a 2-3 step procedure and sometimes I tend to write lot of notes using vscode and a simple context menu would prove to be useful.
I understand that this could be implemented as a plugin, but for something like this which would be considered as a core part of the product, I hence request this feature to be added to the official source than a third party plugin.
Alternatives to achieve the same motive:
Using visual elements:
click File on the menubar.
click "New Window" which is the second option.
now again select "Open Folder" option from the dropdown menu when selecting File in the menu bar of the opened new window.
choose the target dir to work with.
Using Terminal:
use "cd" command to navigate to the target dir
now type in "code ." to use this as working dir for the new window.
or
use "code $path" to open a new window/instance using this folder as working directory.
Constraints:
added only on explorer context menu
available only for folders and not files. (makes much sense). Files can be opened in new tabs under same window.
Changes proposed in pull request:
added new constants for the new context option.
added registration of the new explorer context menu item
added handler for the command processing of request "Open in new window"
This feature or addon should be a non intrusive and user friendly request. Please consider adding this to the official product code.
Thanks
The text was updated successfully, but these errors were encountered:
I have checked this extension earlier and it really helps with my needs, but I felt like this to be an integral function of the product and can go with the default core package without need for any extensions.
@mahee96 glad to have helped by referring you to the extension. You'll have seen my comment on the PR about why I don't have high hopes of it getting merged.
The (file)EXPLORER which contains the file and folder tree structure of opened working directory can be enhanced to have an additional context menu "Open in new window" for folder types.
Request reason: when I have to open a directory which contains lot of repos, the current working directory is a reference root and I want it to be in vscode. So If I want to open a subdir containing an actual repo that I want to work on, I have to either open a new instance/window of vscode and issue open folder to the target subdir. This is at least a 2-3 step procedure and sometimes I tend to write lot of notes using vscode and a simple context menu would prove to be useful.
I understand that this could be implemented as a plugin, but for something like this which would be considered as a core part of the product, I hence request this feature to be added to the official source than a third party plugin.
Alternatives to achieve the same motive:
or
Constraints:
Changes proposed in pull request:
This feature or addon should be a non intrusive and user friendly request. Please consider adding this to the official product code.
Thanks
The text was updated successfully, but these errors were encountered: