Page 1 of 1

intellisense issue

Posted: Thu May 21, 2020 5:35 am
by Domtar
Product: PowerShell Studio 2020 (64 Bit)
Build: v5.7.177
OS: Windows 10 Enterprise (64 Bit)
Build: v10.0.18363.0

since the last update, every day when i use PS Studio the first time, IntelliSense takes forever to load. Like 5-7 seconds each time, which is forever compared to before where that behavior never happened.

is this a bug?

thanks!

edit: i forgot to add that the first time I use tab completion is worst. it takes more than 1 minute to display the command.

please help!

Re: intellisense issue

Posted: Thu May 21, 2020 7:44 am
by brittneyr
What are you opening (ps1, psf, projects)? If it is a project, how many files are included in that project?

Re: intellisense issue

Posted: Thu May 21, 2020 7:52 am
by Alexander Riedel
[Topic moved by moderator]

Please help us to help you by posting in the correct forum.

Re: intellisense issue

Posted: Thu May 21, 2020 8:22 am
by Domtar
i did post in the correct forum.

in the console window, i run this and it takes 2.6 sec.

this was a lot faster before that last update to 5.7.177;

PS C:\Scripts\tests> Measure-Command {
>> if (-not [system.IO.Directory]::Exists('c:\Temp\test'))
>> { New-Item -Path c:\Temp -Name crap -ItemType directory -Force }
>> }
>>


Days : 0
Hours : 0
Minutes : 0
Seconds : 2
Milliseconds : 6
Ticks : 20067269
TotalDays : 2.3226005787037E-05
TotalHours : 0.000557424138888889
TotalMinutes : 0.0334454483333333
TotalSeconds : 2.0067269
TotalMilliseconds : 2006.7269

and same code on a test VM computer;

PS C:\Users\xxxxx> measure-command { if (-not [string]::IsNullOrEmpty('c:\temp\test')) {new-item -path c:\temp -name test -ItemType directory -force } }


Days : 0
Hours : 0
Minutes : 0
Seconds : 0
Milliseconds : 132
Ticks : 1323535
TotalDays : 1.53186921296296E-06
TotalHours : 3.67648611111111E-05
TotalMinutes : 0.00220589166666667
TotalSeconds : 0.1323535
TotalMilliseconds : 132.3535

Re: intellisense issue

Posted: Tue May 26, 2020 7:14 am
by brittneyr
What are you opening (ps1, psf, projects)? If it is a project, how many files are included in that project?
Also, please try build 5.7.178 and let me know now if you are still having issues.