Skip to content

Bug fixes and improvements for 0.2.0 #51

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

Merged
merged 7 commits into from
Nov 21, 2015
Merged

Bug fixes and improvements for 0.2.0 #51

merged 7 commits into from
Nov 21, 2015

Conversation

daviwil
Copy link
Contributor

@daviwil daviwil commented Nov 21, 2015

No description provided.

This change updates the SessionPSHostRawUserInterface class to get rid of
most instances of throwing NotImplementedException.  When debugging, if a
script invokes a method that causes the raw UI interface to be touched,
those methods shouldn't cause errors to appear.  This change reduces the
possibility of the user seeing errors due to this reason.
This change introduces the 'workspace/didChangeConfiguration' notification
which the client will send to the language server when the user changes
their settings.  It also introduces a new configuration section for script
analysis settings so that the user can turn on/off script analysis.  More
settings will be added later.
This change fixes an issue which causes high CPU usage and a delay when an
application path is completed or hovered over.  This is due to an
unnecesary call to Get-Help which takes some time before it returns in
this case.
This change enables language features for in-memory files such as untitled
files and diff comparison files which show up in VS Code's Git diff
viewer.  When a file is sent in with an 'inmemory' or 'untitled' URI, it
gets treated like a normal file.
In a previous commit, PowerShellSession was renamed to PowerShellContext.
EditorServices.PowerShellSession was accidentally renamed to
EditorServices.powerShellContext with a camel-cased name.  This change
corrects the casing on that property.
This change gives a namespace to the 'showonlinehelp' message type, making
it 'powerShell/showOnlineHelp'.  Also changes the request parameter type
to a string and uses PSCommand.AddCommand, etc to avoid script injection
attacks.
@msftclas
Copy link

Hi @daviwil, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!


It looks like you're a Microsoft contributor (David Wilson (WSSC)). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

daviwil added a commit that referenced this pull request Nov 21, 2015
Bug fixes and improvements for 0.2.0
@daviwil daviwil merged commit b83a7a8 into master Nov 21, 2015
@daviwil daviwil deleted the daviwil/0.2.0 branch February 16, 2016 04:54
TylerLeonhardt pushed a commit to TylerLeonhardt/PowerShellEditorServices that referenced this pull request Feb 26, 2019
package.json: use ${workspaceRoot}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants