question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Slow intellisense when workspace contains a DSC module

See original GitHub issue

System Details

  • Operating system name and version: Windows 7 x64
  • VS Code version: 1.3.1.0
  • PowerShell extension version: 1.13.0
  • Output from $PSVersionTable:

Name Value


PSVersion 5.1.14409.1005 PSEdition Desktop PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…} BuildVersion 10.0.14409.1005 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1

Issue Description

I’m finding intellisense incredibly slow in some circumstances (often several tens of seconds). This also affects the time take for the great new code lens stuff to appear. I have quite a large repo, but by trial and error I found that knocking out all the DSC modules makes things blindingly fast. Adding even one DSC module back in makes things noticeably slower. I tried third party DSC modules (xPSDesiredStateConfirugation or xWebAdministration) and the behaviour’s the same.

Attached Logs

The logs below are from two vscode workspaces: one has a third-party MySQL module, and the other has that module plus xPSDesiredStateConfiguration version 6.4.0.0. All I am doing is opening the MySQL module file and waiting for the code lens to appear in front of the first function. You can see from the timing that there’s a 8-second lag before line 1537 of the version with DSC.

logs.zip

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
dan-escottcommented, Mar 31, 2020

Can confirm that the experience is vastly superior with the latest updates. Thanks for keeping this issue updated 😃

0reactions
msftbot[bot]commented, Mar 31, 2020

This issue is being closed as inactive, if this issue is still occurring it will be re-opened

Read more comments on GitHub >

github_iconTop Results From Across the Web

Visual Studio Code Intellisense is very slow - Stack Overflow
I have a brand new laptop and it is worse than on my old laptop which is really old and slow. – MadMac....
Read more >
Troubleshooting Tips for IntelliSense Slowness - C++ Team Blog
The goal of this article is to assist you in troubleshooting this complex system, and give you a peek under the hood at...
Read more >
Untitled
Masterov clash of clans war, Voltis home unit, Leo sign nepeta! ... Jordan 3 black and red, Ellen verbeek derk sauer, The streets...
Read more >
Frequently Asked Questions - Software AG Documentation
When a Natural mainframe environment has been mapped and a library is being added to the NaturalONE workspace, it may happen that the...
Read more >
MPLAB X IDE User's Guide - Farnell
“Desktop Reference” – provides a reference to MPLAB X IDE ... (DSC). These microcontrollers combine a microprocessor unit (like the CPU in a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found