Skip to content
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

env.onDidChangeShell API naming feedback #194097

Closed
lszomoru opened this issue Sep 26, 2023 · 1 comment
Closed

env.onDidChangeShell API naming feedback #194097

lszomoru opened this issue Sep 26, 2023 · 1 comment
Assignees
Labels
*as-designed Described behavior is as designed under-discussion Issue is under discussion for relevance, priority, approach

Comments

@lszomoru
Copy link
Member

Testing #194028

Most probably it's too late for this but I did notice some inconsistencies where both "shell" and "profile" are being used:

  • The even is called "onDidChangeShell"
  • The field tied to the event is called "shell"
  • The command in VS Code that results in the event being fired is called "Select Default Profile"
  • There is already existing API to register a profile provider - registerTerminalProfileProvider

It would be nice if we would settle on one of them and use it consistently across the API surface

@Tyriar
Copy link
Member

Tyriar commented Sep 26, 2023

These are different concepts though; a profile is a combination of a name, executable, arguments, env, icon, etc. and a shell is just the executable.

@Tyriar Tyriar added the under-discussion Issue is under discussion for relevance, priority, approach label Sep 26, 2023
@Tyriar Tyriar added the *as-designed Described behavior is as designed label Dec 19, 2024
@Tyriar Tyriar closed this as completed Dec 19, 2024
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Feb 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*as-designed Described behavior is as designed under-discussion Issue is under discussion for relevance, priority, approach
Projects
None yet
Development

No branches or pull requests

2 participants