[PSS 2018][Bug] Aliases not detected

Support for all customers who have purchased a SAPIEN PowerShell Studio 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
Bosparan
Posts: 282
Joined: Sun Mar 03, 2013 12:45 pm

[PSS 2018][Bug] Aliases not detected

Post by Bosparan » Wed Feb 28, 2018 4:38 am

PSS Version: 2018 5.5.149 x64
OS Version: Windows 10 x64 1709
WMF Version: 5.1

Impact: High

Symptoms:
PowerShell Studio fails to detect any aliases from all of my modules.
The default aliases are recognized and work, but the modules I wrote export aliases - as is declared in their manifest - but they are not detected by PowerShell Studio.

Reproducibility:
Run the following command to install one of those modules:

Code: Select all

Install-Module PSUtil
Then run the following line in your console:

Code: Select all

Get-Command new
As you can see, the alias new is available and properly detected.
Now open PowerShell Studio, rebuild the cache just in case.
Then in the editor type new and see ... no alias detection. It stays gray.

Notes
  • I have tried rebuilding the cache. Repeatedly
  • I have tried reinstalling PowerShell Studio. Twice.
This is of high relevance to me, since I have optimized my efficiency using a dedicated module that exports dozens of aliases for the most commonly used commands of mine, because it significantly increases my coding speed to be able to just type <n><e><w><TAB>. Losing the ability to do so has been a very significant speedbump for my coding.

User avatar
davidc
Posts: 5913
Joined: Thu Aug 18, 2011 4:56 am

Re: [PSS 2018][Bug] Aliases not detected

Post by davidc » Wed Feb 28, 2018 8:56 am

We are investigating and will get back to you.
David
SAPIEN Technologies, Inc.

User avatar
davidc
Posts: 5913
Joined: Thu Aug 18, 2011 4:56 am

Re: [PSS 2018][Bug] Aliases not detected

Post by davidc » Fri Mar 02, 2018 10:42 am

This issue will be resolved in the next service release. In the meantime, copy the following file (unzipped):
PSUtil.1.1.1.10.zip
(407 Bytes) Downloaded 54 times
into:

C:\ProgramData\SAPIEN\PresetCache 2018\ModuleCacheV5

Then rebuild the cache in PowerShell Studio.
David
SAPIEN Technologies, Inc.

User avatar
Bosparan
Posts: 282
Joined: Sun Mar 03, 2013 12:45 pm

Re: [PSS 2018][Bug] Aliases not detected

Post by Bosparan » Sat Mar 03, 2018 5:49 am

Heya David,

thank you as always for your swift resolutions :)

Cheers,
Fred