Skip to content

Improve parameter Intellisense sorting #40

@rkeithhill

Description

@rkeithhill

Right now, command-specific parameters are mixed in with common parameters.

vscintellisense

Ideally, I'd love to see VSC support a tabbed Intellisense popup (like I've seen before in VS) where there would be two tabs as shown I the C# popup:

vsintellisense

Where the first tab would show the command-specific parameters and the second tab would show common parameters.

If VSC doesn't support this then I propose that the parameters are listed in the following order:

  • Sorted non-common parameters
  • Line separator (if possible)
  • Optional common parmeters
  • Line separator (if possible)
  • Sort common parameters

For example, this is an example of the above for Stop-Process:

Force
Id
InputObject
Name
PassThru
----
Confirm
WhatIf
----
Debug
ErrorAction
ErrorVariable
InformationAction
InformationVariable
OutBuffer
OutVariable
PipelineVariable
Verbose
WarningAction
WarningVariable

I think this order would be more useful to PowerShell scripters. Personally, I'm almost always more interested in the command-specific parameters.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions