-
Notifications
You must be signed in to change notification settings - Fork 510
Please add extra functionality to $pseditor similar to $psise #773
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
Comments
Tagging on to this request, I would also like to be able to get information about VSCode as well. Specifically the version of VSCode. |
Just to add a comment. The SaveAs() method, I believe would be on the Type: Microsoft.PowerShell.EditorServices.Extensions.FileContext $psEditor.GetEditorContext().currentfile | gm |
PowerShell/PowerShellEditorServices#590 we've added A contributor could look at my PR to add I'll keep this open for that... but this issue should be moved to https://github.com/powershell/powershelleditorservices/ |
#1261 adds |
This is out the door already :) |
The version information is the next thing, although maybe not as high priority. The only tricky part is we will need to define a way for arbitrary editors to provide information about themselves. Very possible, but we should consult maintainers for Atom, Sublime and any other editor front-ends. |
@brwilkinson Yep, precisely that. |
It is possible to grab the most recent build from CI if you'd like it. |
I would like to save files using the command line in VSCODE.
Please add $psise.CurrentFile.SaveAs()
The text was updated successfully, but these errors were encountered: