-
Notifications
You must be signed in to change notification settings - Fork 45
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
Highlight keyword default cmd aliases #157
Comments
The following is the suggestion you receive in VS Code with the PowerShell extension:
As you stated, the alias's you know are just the default alias's. There is an alias table ( Here is a discussion on two particular alias that greatly make the point why alias should not be used in scripts: REDDIT: Curl author asks Microsoft to remove 'curl' and 'wget' aliases from PowerShell (it actually points back to a GitHub PR). I believe these particular alias's are now disabled on the Linux distributions of PowerShell core, among others. (actually, never existed in Core on Linux) On the other side, I do have a PR #156, to demonstrates an experimental statement style scoping that would cause the alias's to highlight as a function. This PR however has also removed '%' and As a side note, I prefer not to use New-Object, instead using the syntax |
Environment
Issue Description
Please add highlighting of default command aliases (
sal
,iex
, etc.)Expected Behavior
Default cmd aliases highlighted as keywords / expressions
Code Samples
sal a New-Object;
The text was updated successfully, but these errors were encountered: