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

Terminal suggest: Move to preview #239696

Open
Tyriar opened this issue Feb 5, 2025 · 2 comments
Open

Terminal suggest: Move to preview #239696

Tyriar opened this issue Feb 5, 2025 · 2 comments
Assignees
Labels
feature-request Request for new features or functionality terminal-suggest
Milestone

Comments

@Tyriar
Copy link
Member

Tyriar commented Feb 5, 2025

Seems like the right time to move to preview now that things are a lot more stable and we're much better on testing now.

@Tyriar Tyriar added this to the February 2025 milestone Feb 5, 2025
@meganrogge meganrogge added feature-request Request for new features or functionality terminal-suggest labels Feb 5, 2025
@meganrogge
Copy link
Contributor

Would this just entail changing the setting name and migrating it?

@Tyriar
Copy link
Member Author

Tyriar commented Feb 5, 2025

Just replacing "experimental" with "preview" in settings tags and adjusting the descriptions of the settings if experimental is mentioned there:

I also see that some settings don't have tags at all, we should add there:

[TerminalSuggestSettingId.QuickSuggestions]: {
restricted: true,
markdownDescription: localize('suggest.quickSuggestions', "Controls whether suggestions should automatically show up while typing. Also be aware of the {0}-setting which controls if suggestions are triggered by special characters.", `\`#${TerminalSuggestSettingId.SuggestOnTriggerCharacters}#\``),
type: 'boolean',
default: true,
},
[TerminalSuggestSettingId.SuggestOnTriggerCharacters]: {
restricted: true,
markdownDescription: localize('suggest.suggestOnTriggerCharacters', "Controls whether suggestions should automatically show up when typing trigger characters."),
type: 'boolean',
default: true,
},
[TerminalSuggestSettingId.RunOnEnter]: {
restricted: true,
markdownDescription: localize('suggest.runOnEnter', "Controls whether suggestions should run immediately when `Enter` (not `Tab`) is used to accept the result."),
enum: ['ignore', 'never', 'exactMatch', 'exactMatchIgnoreExtension', 'always'],
markdownEnumDescriptions: [
localize('runOnEnter.ignore', "Ignore suggestions and send the enter directly to the shell without completing. This is used as the default value so the suggest widget is as unobtrusive as possible."),
localize('runOnEnter.never', "Never run on `Enter`."),
localize('runOnEnter.exactMatch', "Run on `Enter` when the suggestion is typed in its entirety."),
localize('runOnEnter.exactMatchIgnoreExtension', "Run on `Enter` when the suggestion is typed in its entirety or when a file is typed without its extension included."),
localize('runOnEnter.always', "Always run on `Enter`.")
],
default: 'ignore',
},
[TerminalSuggestSettingId.BuiltinCompletions]: {
restricted: true,
markdownDescription: localize('suggest.builtinCompletions', "Controls which built-in completions are activated. This setting can cause conflicts if custom shell completions are configured in the shell profile."),
type: 'object',
properties: {
'pwshCode': {
description: localize('suggest.builtinCompletions.pwshCode', 'Custom PowerShell argument completers will be registered for VS Code\'s `code` and `code-insiders` CLIs. This is currently very basic and always suggests flags and subcommands without checking context.'),
type: 'boolean'
},
'pwshGit': {
description: localize('suggest.builtinCompletions.pwshGit', 'Custom PowerShell argument completers will be registered for the `git` CLI.'),
type: 'boolean'
},
},
default: {
pwshCode: true,
pwshGit: true,
}
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality terminal-suggest
Projects
None yet
Development

No branches or pull requests

2 participants