Non-PowerShell Syntax Highlight

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 2 years and 5 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
amoseng
Posts: 12
Last visit: Mon Oct 25, 2021 2:26 am

Non-PowerShell Syntax Highlight

Post by amoseng »

Product: PowerShell Studio 2021 (64 Bit)
Build: v5.8.192
OS: Windows 10 Enterprise (64 Bit)
Build: v10.0.19043.0


I was wondering if there is a way of adding syntax highlight for other formats than PowerSHell? I work a lot with JSON and YAML (Ansible) along with my PowerShell scripts, so being able to have syntax highlights for other formats would be very useful.

Best regards,
Moseng
User avatar
brittneyr
Site Admin
Posts: 1655
Last visit: Thu Mar 28, 2024 1:00 pm
Answers: 39
Been upvoted: 30 times

Re: Non-PowerShell Syntax Highlight

Post by brittneyr »

PowerShell Studio does provide basic syntax highlighting for JSON files. The syntax coloring can be changed from the Editor Font and Color Settings (Options->Editor->Font and Color):
SPS_FontAndColorSettings-JSON.png
SPS_FontAndColorSettings-JSON.png (26.65 KiB) Viewed 5063 times
As for YAML, you are welcome to make a feature request here and we will see what we can do:
https://www.sapien.com/requests
Brittney
SAPIEN Technologies, Inc.
User avatar
amoseng
Posts: 12
Last visit: Mon Oct 25, 2021 2:26 am

Re: Non-PowerShell Syntax Highlight

Post by amoseng »

Thanks a bunch :)

Feature Request has been made
https://www.sapien.com/requests/single_request/239
This topic is 2 years and 5 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.