Skip to content

Conversation

andyleejordan
Copy link
Member

Two caveats:

  1. The alias must be set in the runspace, which means the script needs
    to have been executed.
  2. The definition is the function itself, not the Set-Alias command.

Resolves PowerShell/vscode-powershell#2800

Two caveats:

1. The alias must be set in the runspace, which means the script needs
   to have been executed.
2. The definition is the function itself, not the `Set-Alias` command.
@andyleejordan
Copy link
Member Author

FYI @PrzemyslawKlys

@PrzemyslawKlys
Copy link

@andschwa Thanks :-) I am closely monitoring your progress ;-)

Copy link
Member

@daxian-dbw daxian-dbw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@andyleejordan andyleejordan merged commit f3d4bf2 into master Jan 13, 2022
@andyleejordan andyleejordan deleted the andschwa/get-definition-of-alias branch January 13, 2022 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Symbols and References Issue-Enhancement A feature request (enhancement).
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

References/Go To Definition Does not work with aliases
3 participants