-
Notifications
You must be signed in to change notification settings - Fork 30.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terminal links should support folders #29499
Comments
I will try it. |
@ZZhaoTireless sure, you'll amend here to make the link active https://github.com/Microsoft/vscode/blob/1070a6a84a9e49f3513ac541d7f68cc449a890d8/src/vs/workbench/parts/terminal/electron-browser/terminalLinkHandler.ts#L239 Then find the service that allows you to focus in the explorer and call into it from https://github.com/Microsoft/vscode/blob/1070a6a84a9e49f3513ac541d7f68cc449a890d8/src/vs/workbench/parts/terminal/electron-browser/terminalLinkHandler.ts#L148 |
Are we talking about opening a new VS Code window for the folder link? |
Maybe revealing in the explorer if it's in one of the root folders, otherwise launching a new VS Code window? I hadn't considered that before your comment 😄 |
The IWindowService doesn't have a way to open a new window. It has a way to open the picker to choose the folder to open in a new window So this one is more that just a few lines of change. |
#82010 is a proposed for what happens when you run the |
This will land in tomorrow's build when you have To verify:
Note that activating a link of the folder just focuses the explorer, this behavior is being discussed in #95164 |
Clicking a link could open the folder in the explorer.
The text was updated successfully, but these errors were encountered: