Product, version and build: Powershell Studio 4.2.99
32 or 64 bit version of product: 64
Operating system: Windows 10 (latest patches as of 1/11/2016)
32 or 64 bit OS: 64
Severity: annoyance (not critical or affecting code that I can see - just annoys me when working on large projects)
Steps to reproduce:
Assume the following code segment:
$pinfo = New-Object System.Diagnostics.ProcessStartInfo
$pinfo.FileName = "powershell.exe"
$pinfo.RedirectStandardError = $true
$pinfo.RedirectStandardOutput = $true
$pinfo.UseShellExecute = $false
$pinfo.createnowindow = $true
if while working on line 2 i go back to edit it to and erase the closing ", for each character (space or otherwise) that I type after the opening " before closing it - a new line is highlighted as though it is enclosed in the "
Thanks for all you do - love Powershell studio
A new line is highlighted per character when typing with unclosed "
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.
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.
Re: A new line is highlighted per character when typing with unclosed "
I can understand the frustration of the string syntax coloring while editing. This is an unfortunately side effect of the PowerShell language specification, which supports multi-line strings and is one of the main reasons we added auto-quote completion.
David
David
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.