You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should be updated to use the new parser directly from the PowerShell APIs in C# and return a proper edit (potentially deprecating the need for an entirely separate custom request).
The text was updated successfully, but these errors were encountered:
Actually, are we certain that useLocalScope is defaulting to true? I was looking at the code and that doesn't appear to be the case. The second argument is isScript.
Prerequisites
Summary
In the following code we (repeatedly) define an internal PowerShell script that uses the original parser to expand the alias.
PowerShellEditorServices/src/PowerShellEditorServices/Services/PowerShell/Handlers/ExpandAliasHandler.cs
Lines 32 to 71 in 37f0648
Proposed Design
This should be updated to use the new parser directly from the PowerShell APIs in C# and return a proper edit (potentially deprecating the need for an entirely separate custom request).
The text was updated successfully, but these errors were encountered: