-
Notifications
You must be signed in to change notification settings - Fork 30.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
Test: Shell Integration API #226655
Comments
@Tyriar I tried for one hour to get shell integration work for me on my Windows machine but no luck. Whatever I do, I never received any
Any hint on how to enable this |
For some reason the shell integration script never gets loaded. When I execute
|
This even happens when I do the following:
|
@dbaeumer sounds like it should be working with that setup. Try installing pwsh 7 and using that if you haven't, Windows PowerShell (5) which is shipped with Windows should work but maybe that's why? |
@Tyriar I use pwsh 7.4.5. Anything I can do (logging) to find out why it is not working? |
@dbaeumer when you hover the tab you should see a long command line like this: Make sure you don't have If that doesn't help enable a trace log and check the pty host output channel when you create a terminal. You should see a {"shellIntegration":{"enabled":true,"suggestEnabled":true,"nonce":"80e12edd-a671-4229-a4b9-028ae4b8f609"},"windowsEnableConpty":true,"windowsUseConptyDll":true,"environmentVariableCollections", ... That would be helpful |
Cool 👏 , I think this will be powerful |
Refs: #145234
Complexity: 5
Create Issue
The
Terminal.shellIntegration
API has been finalized this iteration. To test this:Terminal.shellIntegration
,onDidChangeTerminalShellIntegration
,onDidStartTerminalShellExecution
,onDidEndTerminalShellExecution
onDidChangeTerminalShellIntegration
andexecuteCommand(string, string[])
The text was updated successfully, but these errors were encountered: