Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sometimes using "Run Selection" is delayed #2342

Closed
mattenz opened this issue Dec 3, 2019 · 4 comments
Closed

Sometimes using "Run Selection" is delayed #2342

mattenz opened this issue Dec 3, 2019 · 4 comments
Labels
Resolution-Duplicate Will close automatically.

Comments

@mattenz
Copy link

mattenz commented Dec 3, 2019

Sometimes when trying to use "Run Selection" it delays actually running the selection, sometimes for many minutes. I can't really find out what's causing it the delay has nothing appears to happen and then after a while it just kicks off running what I had selected. It doesn't seem to matter if I just have one line selected or many.

Version info:
PSVersion 5.1.18362.145
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.18362.145
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

VS Version: 1.40.2
PS Extension: 2019.11.0

@ghost ghost added the Needs: Triage Maintainer attention needed! label Dec 3, 2019
@rjmholt
Copy link
Contributor

rjmholt commented Dec 3, 2019

Thanks for opening an issue @mattenz. Are you using the powershell-preview extension, or just the powershell extension. If it's the latter, there are known issues with latency due to how LSP messages are handled. We've made big changes in the preview extension to address this, and they'll be in the stable extension in January.

For now in the stable extension, you could try disabling CodeLens or disabling script analysis.

With those in mind, this issue may be a duplicate of #1326, so let us know which extension you're running and whether the proposals above help.

@SydneyhSmith SydneyhSmith added Needs-Repro-Info and removed Needs: Triage Maintainer attention needed! labels Dec 3, 2019
@mattenz
Copy link
Author

mattenz commented Dec 3, 2019

Yes this is the non-preview version of the extension. It does seem that turning off CodeLens resolves the issue. I did do a search around before submitting this but it seems I missed that particular listing 😅

@ghost ghost added the Needs: Maintainer Attention Maintainer attention needed! label Dec 3, 2019
@SydneyhSmith SydneyhSmith added Resolution-Duplicate Will close automatically. and removed Needs-Repro-Info Needs: Maintainer Attention Maintainer attention needed! labels Dec 3, 2019
@rjmholt
Copy link
Contributor

rjmholt commented Dec 3, 2019

I did do a search around before submitting this but it seems I missed that particular listing

No worries, it's hard to find; took me a bit to find it again. We should add it to our known issues, although it shouldn't be an issue for much longer.

If you'd like to try out the powershell-preview extension, you can evaluate whether it solves this issue for you.

@ghost
Copy link

ghost commented Dec 4, 2019

This issue has been marked as duplicate and has not had any activity for 1 day. It has been closed for housekeeping purposes.

@ghost ghost closed this as completed Dec 4, 2019
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate Will close automatically.
Projects
None yet
Development

No branches or pull requests

3 participants