Product, version and build: SAPIEN PowerShell Studio 2021 v.5.8.196
Operating system: Windows Server 2016
PowerShell version(s): 5 & 7
Hi, PrimalSense autocompletion has stopped functioning as expected. This seems to have happened after parameterizing a small script. The available options seem to correctly sense the context within the param() function similar to the example shown in your documentation at /manuals/powershell_studio/sps_primalsense.html
However when I move out of the param() block, I am not getting the cmdlet autocompletion I am expecting. In the screen capture, I would expect to see a list of cmdlets that begin with the verb get but I do not.
I have tried removing the script block, and all other code in the file. I still don't get a list of cmdlets after typing a verb. I have tried closing the program, creating a brand new file, saving it with a .ps1 extension and still no luck.
Thanks in advance.
Autocompletion fail
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.
- Alexander Riedel
- Posts: 8488
- Last visit: Tue Apr 16, 2024 8:42 am
- Been upvoted: 37 times
Re: Autocompletion fail
Which PowerShell version and platform is currently selected on the Ribbon bar?
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: Autocompletion fail
That did it. Thanks!
Any next steps to get this functionality back while using PS 7 engine?
I had PS 7 selected, no cmdlets suggested in autocomplete dialog. I switched to PS5, cmdlets are available in autocomplete dialog.
Any next steps to get this functionality back while using PS 7 engine?
I had PS 7 selected, no cmdlets suggested in autocomplete dialog. I switched to PS5, cmdlets are available in autocomplete dialog.
- Alexander Riedel
- Posts: 8488
- Last visit: Tue Apr 16, 2024 8:42 am
- Been upvoted: 37 times
Re: Autocompletion fail
Which PowerShell 7 version do you have installed?
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: Autocompletion fail
I recently installed 7.2.1 a few days after I installed PS studio.
That's probably when this happened. I can't remember which version of 7 I was running when PowerShell studio was first installed.
That's probably when this happened. I can't remember which version of 7 I was running when PowerShell studio was first installed.
- Alexander Riedel
- Posts: 8488
- Last visit: Tue Apr 16, 2024 8:42 am
- Been upvoted: 37 times
Re: Autocompletion fail
7.2.x is not supported yet. Give it another day or two.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.