Skip to content

Terminal suggest: ability to group arg suggestions together #272352

@JeffreyCA

Description

@JeffreyCA

Does this issue occur when all extensions are disabled?: N/A

  • VS Code Version: main
  • OS Version: Windows 11

I was testing out a new Fig spec (#272348) and noticed that argument suggestions aren't grouped together by default:

Image

I think it would be useful to have the ability to group them together instead of having them mixed with options/flags.

Spec snippet:

{
	name: ['extension', 'ext'],
	description: 'Manage azd extensions.',
	subcommands: [
		{
			name: ['install'],
			description: 'Installs specified extensions.',
			options: [
				{
					name: ['--force', '-f'],
					description: 'Force installation even if it would downgrade the current version',
					isDangerous: true,
				},
				...
			],
			args: {
				name: 'extension-id',
				generators: azdGenerators.listExtensions,
			},
		},
	],
}

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code Insiderson-release-notesIssue/pull request mentioned in release notesterminal-suggestverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions