|
8 | 8 | functionality needed to enable a consistent and robust PowerShell development
|
9 | 9 | experience in almost any editor or integrated development environment (IDE).
|
10 | 10 |
|
11 |
| -## [Language Server Protocol](https://microsoft.github.io/language-server-protocol/) clients using PowerShell Editor Services: |
| 11 | +## [Language Server Protocol](https://microsoft.github.io/language-server-protocol/) clients using PowerShell Editor Services |
12 | 12 |
|
13 | 13 | - [PowerShell for Visual Studio Code](https://github.com/PowerShell/vscode-powershell)
|
14 | 14 | > [!NOTE]
|
@@ -150,14 +150,15 @@ PowerShell is not a statically typed language. As such, the renaming of function
|
150 | 150 | There are several edge case scenarios which may exist where rename is difficult or impossible, or unable to be determined due to the dynamic scoping nature of PowerShell.
|
151 | 151 |
|
152 | 152 | The focus of the rename support is on quick updates to variables or functions within a self-contained script file. It is not intended for module developers to find and rename a symbol across multiple files, which is very difficult to do as the relationships are primarily only computed at runtime and not possible to be statically analyzed.
|
| 153 | +👍👍 [Implemented and Tested Rename Scenarios](https://github.com/PowerShell/PowerShellEditorServices/blob/main/test/PowerShellEditorServices.Test.Shared/Refactoring) |
153 | 154 |
|
154 | 155 | 🤚🤚 Unsupported Scenarios
|
155 | 156 |
|
156 |
| -❌ Renaming can only be done within a single file. Renaming symbols across multiple files is not supported. |
157 |
| -❌ Files containing dotsourcing are currently not supported. |
158 |
| -❌ Functions or variables must have a corresponding definition within their scope to be renamed. If we cannot find the original definition of a variable or function, the rename will not be supported. |
159 |
| - |
160 |
| -👍👍 [Implemented and Tested Rename Scenarios](https://github.com/PowerShell/PowerShellEditorServices/blob/main/test/PowerShellEditorServices.Test.Shared/Refactoring) |
| 157 | +❌ Renaming can only be done within a single file. Renaming symbols across multiple files is not supported, even if those are dotsourced from the source file. |
| 158 | +❌ Functions or variables must have a corresponding definition within their scope or above to be renamed. If we cannot find the original definition of a variable or function, the rename will not be supported. |
| 159 | +❌ Dynamic Parameters are not supported |
| 160 | +❌ Dynamically constructed splat parameters will not be renamed/updated (e.g. `$splat = @{};$splat.a = 5;Do-Thing @a`) |
| 161 | +❌ Scoped variables (e.g. $SCRIPT:test) are not currently supported |
161 | 162 |
|
162 | 163 | 📄📄 Filing a Rename Issue
|
163 | 164 |
|
|
0 commit comments