-
Notifications
You must be signed in to change notification settings - Fork 240
Closed
Labels
Issue-EnhancementA feature request (enhancement).A feature request (enhancement).
Description
Visual Studio Code has two related features that this proposal addresses: Go to Symbol and Go to Symbol by Category accessed with Ctrl+Shift+O or Ctrl+P, @ and Ctrl+P, @:. For a JavaScript file, the follow symbols are shown:
And by category:
PowerShell Symbol Categories
For PowerShell, I propose the following categories:
- functions (both simple and advanced as well as filters)
- workflows
- configurations
- classes
- properties (properties within classes)
- methods (methods within classes)
- enums
- variables (script-scope only)
Filters could be a category but they are not significantly different from functions and with the advent of advanced functions, I don't believe filters are widely used anymore.
The JavaScript support only shows global variables - not function-scoped variables. I suggest that we only show script-scope variables as well (assuming this can be determined from the AST). If scope can't be determined from the AST then I propose not showing variables.
Metadata
Metadata
Assignees
Labels
Issue-EnhancementA feature request (enhancement).A feature request (enhancement).

