Function Autocomplete below Here-string

Support for all customers who have purchased a PrimalScript product license. This forum does not offer a response time guarantee.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE 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.
User avatar
clum09
Posts: 138
Joined: Thu Apr 24, 2008 9:11 am

Function Autocomplete below Here-string

Post by clum09 » Sun Feb 11, 2018 12:25 pm

Product, version and build: 7.4.110_020518
32 or 64 bit version of product: 64-bit
Operating system: Windows 10 Enterprise
32 or 64 bit OS: 63-bit

Hello,

I have a script that I need to use the PowerShell Here-string that uses the double quotes for splatting (@".."@) because I have a variable within the Here-string to display the value of the variable.

The PrimalScript editor failed to color code and autocomplete the function names of the functions that are below the Here-string while the function names of those functions above the Here-string work fine. Also, this problem occurs only when the splatting for the Here-string uses the double quote characters - splatting with single quote characters (@'..'@) appears to work fine.

This problem does not happen within the editor of PowerShell Studio.

Please fix this problem so that I can use the Here-string with splatting using the double quote characters (@".."@).

Thank you in advance.

User avatar
Alexander Riedel
Posts: 6604
Joined: Tue May 29, 2007 4:43 pm

Re: Function Autocomplete below Here-string

Post by Alexander Riedel » Sun Feb 11, 2018 8:11 pm

I’ll look into it, but as always it really helps to have an actual code sample that illustrates the problem.
Alexander Riedel
SAPIEN Technologies, Inc.

User avatar
clum09
Posts: 138
Joined: Thu Apr 24, 2008 9:11 am

Re: Function Autocomplete below Here-string

Post by clum09 » Mon Feb 12, 2018 10:12 am

Attached is the picture with the sample code that illustrates the behavior of the editor.
Attachments
Here-String-Problem.JPG
Here-String-Problem.JPG (87.31 KiB) Viewed 842 times

User avatar
clum09
Posts: 138
Joined: Thu Apr 24, 2008 9:11 am

Re: Function Autocomplete below Here-string

Post by clum09 » Wed Feb 14, 2018 1:37 pm

Hello,

Any update with this issue?

Thanks.

User avatar
Alexander Riedel
Posts: 6604
Joined: Tue May 29, 2007 4:43 pm

Re: Function Autocomplete below Here-string

Post by Alexander Riedel » Wed Feb 14, 2018 4:20 pm

The issue has been sent to the proper place for evaluation and correction. When a fix is issued with a service build, it will be listed in the change log.
Alexander Riedel
SAPIEN Technologies, Inc.