PowerShellEditorServices
PowerShellEditorServices copied to clipboard
A common platform for PowerShell development support in any editor or application!
## Steps 1. In the integrated console run `$psEditor.Window.ShowErrorMessage('test')` 1. **Do not** click the X on the notifcation, instead click anywhere in the body and press escape. ## Expected The...
### Prerequisites - [X] Write a descriptive title. - [X] Make sure you are able to repro it on the latest version - [X] Search the existing issues. ### Steps...
### Summary of the new feature / enhancement Indentation should incoprorate Regions, if they exist. This logic is akin to why the contents of functions is indented. Note: I have...
This odd behavior was first noticed in a test: https://github.com/PowerShell/PowerShellEditorServices/blob/bfe334df7e4bdd4b92c5c0319655e40444e185ff/test/PowerShellEditorServices.Test/Debugging/DebugServiceTests.cs#L140-L141 It turns out that the URIs and paths we're receiving "over the wire" (in the raw LSP requests themselves) are...
In this block of code: https://github.com/PowerShell/PowerShellEditorServices/blob/master/src/PowerShellEditorServices.Protocol/Server/LanguageServerSettings.cs#L209 The list of PSScriptAnalyzer rules used to perform the Formatting function is hard-coded. It would be nice to have a way of extending this...
Right now the references code lens searches the AST of every file in the work space for references every document edit. This causes intellisense to crawl in workspaces with a...
Noted in #1474, we can simplify these with the newish `record` keyword (which we have access to because of OmniSharp).
Hello, PSES on Win5.1 loads 2.0.0.0 assembly of Microsoft.Extensions.Configuration. Most non-MS config extensions (YAML, TOML) require at least 2.2.0.0 so my PowerConfig module will not work when running in a...
In the Powershell 5.1 version, the following code do not work: ``` $Context = $psEditor.GetEditorContext() $Context.CurrentFile.GetText($context.SelectedRange) ``` This seems to be a type error ``` Cannot find an overload for...
Issue: [Smart Variable Rename](https://github.com/PowerShell/vscode-powershell/issues/261) # PR Summary This pull request implements the LSP [textDocument/rename](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_rename) and [textDocument/prepareRename](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_prepareRename) handlers for PowerShell. https://github.com/PowerShell/PowerShellEditorServices/pull/2152 exposes the related service settings in vscode-powershell. ## Reviewer's Guide...