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
If an untitled file is opened and the language mode changed to PowerShell, trying to SaveAs() will silently do nothing because the first thing we do is check for the file path. Untitled URIs fail this test, so just do nothing.
We should instead recognise untitled URIs and save them relative to the workspace root (or if an absolute path is given, just save it there).
Thanks to @ brwilkinson to pointing this issue out.
The text was updated successfully, but these errors were encountered:
If an untitled file is opened and the language mode changed to PowerShell, trying to SaveAs() will silently do nothing because the first thing we do is check for the file path. Untitled URIs fail this test, so just do nothing.
We should instead recognise untitled URIs and save them relative to the workspace root (or if an absolute path is given, just save it there).
Thanks to @ brwilkinson to pointing this issue out.
The text was updated successfully, but these errors were encountered: