-
Notifications
You must be signed in to change notification settings - Fork 28.1k
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
Try use shell integration in debug terminals #205034
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Waiting on debug team: #204694 (comment) before approving.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on #204694 (comment) it looks like this will also require changes to RunInterminalRequestArguments
.
What was the issue with always enabling this? |
If we can always enable shell integration by default (thereby enabling it for debug terminals) that'd be great. |
Let's merge this early next iteration and see if there's any negative feedback for insiders |
* Attempt to force shell integration to be enabled by bypassing the {@link isFeatureTerminal} | ||
* equals false requirement. | ||
*/ | ||
forceShellIntegration?: boolean; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at this PR, I'm not clear if it is always enabled for debug terminals by default. Can you clarify? Looks to me like we're not forcing shell integration as default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not always, but it will attempt to just like any other terminal. Previously "feature terminals" would all be excluded.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, who is using forceShellIntegration
option? Note Python extension cannot access this property at the moment when debugging.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@karrtikr it's internal only (see no vscode.d.ts change) and only used right now for debug terminals
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see ok
Fixes #204694
Shell integration when debugging xterm.js' unit tests with
console: integratedTerminal
set.