From 41d8769854611185f96353cfe1764c005da68228 Mon Sep 17 00:00:00 2001 From: Andy Jordan Date: Thu, 2 Feb 2023 13:10:07 -0800 Subject: [PATCH 1/2] Update CHANGELOG for `v3.8.0` --- CHANGELOG.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e826a0e3d..dd7f96d18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,26 @@ # PowerShell Editor Services Release History +## v3.8.0 +### Thursday, February 02, 2023 + +In the PR below we rewrote all the symbol logic. Classes (and their properties and +methods) are now proper symbols. Instead of a dozen similar-yet-different Abstract Symbol +Tree (AST) PowerShell script visitors handling different parts of each symbol-related +request, we have a single visitor that builds a cached dictionary of symbols for each +file. This was a massive simplification of the code that also leads to huge performance +improvements across all the symbol related features: + +- [Go to Symbol in Workspace](https://code.visualstudio.com/Docs/editor/editingevolved#_open-symbol-by-name) +- [Go to Symbol in Editor](https://code.visualstudio.com/Docs/editor/editingevolved#_go-to-symbol) +- [Go to Definition](https://code.visualstudio.com/Docs/editor/editingevolved#_go-to-definition) +- [Go to References / CodeLens](https://code.visualstudio.com/Docs/editor/editingevolved#_reference-information) +- [Outline view](https://code.visualstudio.com/docs/getstarted/userinterface#_outline-view) + +Please try it out and give us feedback! There's plenty of room for more improvement, and +this will be much easier going forward. + +- ✨ 🙏 [PowerShellEditorServices #1984](https://github.com/PowerShell/PowerShellEditorServices/pull/1984) - Integrating class symbol support. + ## v3.7.3 ### Wednesday, January 04, 2023 From ec33127bc33e4124a887949aa6962d6852f28129 Mon Sep 17 00:00:00 2001 From: Andy Jordan Date: Thu, 2 Feb 2023 13:10:07 -0800 Subject: [PATCH 2/2] Bump version to `v3.8.0` --- PowerShellEditorServices.Common.props | 2 +- module/PowerShellEditorServices/PowerShellEditorServices.psd1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PowerShellEditorServices.Common.props b/PowerShellEditorServices.Common.props index ca8404bd4..85b8f9d31 100644 --- a/PowerShellEditorServices.Common.props +++ b/PowerShellEditorServices.Common.props @@ -1,6 +1,6 @@ - 3.7.3 + 3.8.0 Microsoft © Microsoft Corporation. diff --git a/module/PowerShellEditorServices/PowerShellEditorServices.psd1 b/module/PowerShellEditorServices/PowerShellEditorServices.psd1 index 9fc35546b..4c4004459 100644 --- a/module/PowerShellEditorServices/PowerShellEditorServices.psd1 +++ b/module/PowerShellEditorServices/PowerShellEditorServices.psd1 @@ -19,7 +19,7 @@ RootModule = if ($PSEdition -eq 'Core') } # Version number of this module. -ModuleVersion = '3.7.3' +ModuleVersion = '3.8.0' # ID used to uniquely identify this module GUID = '9ca15887-53a2-479a-9cda-48d26bcb6c47'