|
1 | 1 | # PowerShell Extension Release History
|
2 | 2 |
|
| 3 | +## v2023.2.1 |
| 4 | +### Thursday, February 23, 2023 |
| 5 | + |
| 6 | +#### [vscode-powershell](https://github.com/PowerShell/vscode-powershell) |
| 7 | + |
| 8 | +Primarily an update to v3.8 of PowerShell Editor Services, as previewed over February. |
| 9 | +Includes a massive enhancement to extension's symbol support, nearly completing the |
| 10 | +[Consistent References][] project, with the final work in an upcoming preview. Enjoy! |
| 11 | + |
| 12 | +[Consistent References]: https://github.com/PowerShell/vscode-powershell/projects/13 |
| 13 | + |
| 14 | +#### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices) v3.8.1 |
| 15 | + |
| 16 | +- ✨ 📁 [vscode-powershell #2112](https://github.com/PowerShell/PowerShellEditorServices/pull/1995) - Add `WorkspaceFolders` and use it when enumerating files. |
| 17 | +- ✨ 🙏 [vscode-powershell #1481](https://github.com/PowerShell/PowerShellEditorServices/pull/1993) - Count `${Function:My-Function}` as a function reference. |
| 18 | +- 🐛 🙏 [vscode-powershell #1089](https://github.com/PowerShell/PowerShellEditorServices/pull/1990) - Strip scope from function references. |
| 19 | +- 🐛 🙏 [PowerShellEditorServices #1989](https://github.com/PowerShell/PowerShellEditorServices/pull/1989) - Keep only first assignment as declaration. |
| 20 | +- ✨ 🐢 [PowerShellEditorServices #1988](https://github.com/PowerShell/PowerShellEditorServices/pull/1988) - Support Run/Debug tests in PSKoans-files. (Thanks @fflaten!) |
| 21 | + |
| 22 | +In the PR below we rewrote all the symbol logic. Classes (and their properties and |
| 23 | +methods) are now proper symbols. Instead of a dozen similar-yet-different Abstract Symbol |
| 24 | +Tree (AST) PowerShell script visitors handling different parts of each symbol-related |
| 25 | +request, we have a single visitor that builds a cached dictionary of symbols for each |
| 26 | +file. This was a massive simplification of the code that also leads to huge performance |
| 27 | +improvements across all the symbol related features: |
| 28 | + |
| 29 | +- [Go to Symbol in Workspace](https://code.visualstudio.com/Docs/editor/editingevolved#_open-symbol-by-name) |
| 30 | +- [Go to Symbol in Editor](https://code.visualstudio.com/Docs/editor/editingevolved#_go-to-symbol) |
| 31 | +- [Go to Definition](https://code.visualstudio.com/Docs/editor/editingevolved#_go-to-definition) |
| 32 | +- [Go to References / CodeLens](https://code.visualstudio.com/Docs/editor/editingevolved#_reference-information) |
| 33 | +- [Outline view](https://code.visualstudio.com/docs/getstarted/userinterface#_outline-view) |
| 34 | + |
| 35 | +Please try it out and give us feedback! There's plenty of room for more improvement, and |
| 36 | +this will be much easier going forward. |
| 37 | + |
| 38 | +- ✨ 🙏 [PowerShellEditorServices #1984](https://github.com/PowerShell/PowerShellEditorServices/pull/1984) - Integrating class symbol support. |
| 39 | + |
3 | 40 | ## v2023.2.1-preview
|
4 | 41 | ### Monday, February 13, 2023
|
5 | 42 |
|
|
0 commit comments