We released a new service build of PowerShell Studio 2019 (v5.6.158). This service build is included as part of the regular update cycle for our subscribers.
This service release introduces automatic reference highlighting and improves the reference highlighting feature.
Important: This build resolves some debugging issues introduced in the last service build (5.6.157).
Automatic Reference Highlighting
PowerShell Studio now automatically highlights the references of the current selection or the object under the caret. Whenever the user changes the caret position, it will automatically highlight the relevant object-based references.
This option can be toggled in Options->Editor->Enable automatic reference highlighting:
Reference Highlighting Updates
In addition to automatic reference highlighting, we made several improvements to the referencing feature.
Improved PowerShell Object-Based Referencing
We improved referencing to include parameter attributes, unknown commands, and environmental variables.
If you make a text selection in the editor, PowerShell Studio will now use text-based searching for reference highlighting. This allows users to see text references within comment-based help, strings, or in the script in general.
Reference Highlighting for Non-PowerShell Files
PowerShell Studio now supports reference highlighting for non-PowerShell files.
Non-PowerShell files rely on text-based referencing, instead of the object-based referencing used in PowerShell script files.
Next Occurrence and Previous Occurrence Commands
We modified the Next Occurrence and Previous Occurrence commands’ behavior, located in the Ribbon->Home->Navigation:
These commands will now trigger reference highlighting and allow you to jump to the next or previous highlighted reference in the current document.
Please continue providing your feedback. Many of the new features included in the service builds are suggestions from users like you. Submit your suggestions or feature requests on the Wish List and Feature Requests forum or the new Feature Requests page.
You can view the complete service build log here.