Skip to content

Move profile resolving to pty service#123729

Merged
Tyriar merged 26 commits into
mainfrom
tyriar/getprofilesexthost
May 13, 2021
Merged

Move profile resolving to pty service#123729
Tyriar merged 26 commits into
mainfrom
tyriar/getprofilesexthost

Conversation

@Tyriar

@Tyriar Tyriar commented May 12, 2021

Copy link
Copy Markdown
Contributor

Fixes #122534
Fixes #123188
Fixes #123479
Fixes #123163
Fixes #123732
Fixes #121760
Related microsoft/vscode-python#16175


TODO:

  • Test env.shell
  • Clean up/todos
  • Resync main

@Tyriar Tyriar added this to the May 2021 milestone May 12, 2021
@Tyriar Tyriar self-assigned this May 12, 2021
Comment thread src/vs/platform/configuration/common/configurationModels.ts Outdated
Comment thread src/vs/platform/configuration/common/configurationRegistry.ts Outdated
Comment thread src/vs/workbench/contrib/terminal/browser/terminalService.ts Outdated
Comment thread src/vs/workbench/contrib/terminal/browser/terminalService.ts Outdated
Comment thread src/vs/platform/terminal/node/ptyService.ts Outdated
Comment thread src/vs/workbench/api/node/extHostTerminalService.ts
Comment thread src/vs/workbench/contrib/terminal/browser/terminalProfileResolverService.ts Outdated
Comment thread src/vs/workbench/contrib/terminal/browser/terminalProfileResolverService.ts Outdated
Comment thread src/vs/workbench/contrib/terminal/browser/terminalProfileResolverService.ts Outdated
Comment thread src/vs/workbench/contrib/terminal/browser/terminalProfileResolverService.ts Outdated
Comment thread src/vs/workbench/contrib/terminal/browser/terminalService.ts Outdated
Comment thread src/vs/workbench/contrib/terminal/browser/terminalService.ts Outdated
Comment thread src/vs/platform/terminal/node/terminalProfiles.ts Outdated
@meganrogge

Copy link
Copy Markdown
Collaborator

Think this was accidentally added? extensions/git/resources/icons/git.png

Comment thread src/vs/platform/terminal/node/terminalProfiles.ts
Comment thread src/vs/platform/terminal/node/terminalProfiles.ts
Comment thread src/vs/workbench/api/browser/mainThreadTerminalService.ts
Comment thread src/vs/workbench/api/browser/mainThreadTerminalService.ts Outdated
Comment thread src/vs/workbench/contrib/terminal/browser/remoteTerminalService.ts Outdated
}
const defaultProfile = await this.terminalProfileResolverService.getDefaultProfile({
allowAutomationShell: true,
os: Platform.OS,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Tyriar Platform.OS could be the wrong OS if connected to a remote. Will getDefaultProfile ignore the wrong platform in that case?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, tasks when connected to a remote are broken.

@github-actions github-actions Bot locked and limited conversation to collaborators Jun 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.