Skip to content

[PSScriptAnalyzer] Updating of Problems pane intermittent #1216

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

Open
moymike opened this issue Feb 27, 2018 · 3 comments
Open

[PSScriptAnalyzer] Updating of Problems pane intermittent #1216

moymike opened this issue Feb 27, 2018 · 3 comments

Comments

@moymike
Copy link

moymike commented Feb 27, 2018

System Details

1.20.1
f88bbf9137d24d36d968ea6b2911786bfe103002
x64

Major Minor Build Revision


1 6 0 0

[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]

Name Value


PSVersion 5.1.16299.248
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.16299.248
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

Issue Description

With the update to 1.6.0 I am playing with replacing ISE with VScode again. So far it's going well.

The 'PROBLEMS' pane, and the underlined syntax info is really nice, but it seems to be a little off here and there. I find that if I fix an issue, it often does not reflect in the PROBLEMS pane. When I click the error it jumps back to the location where the issue has already been fixed. If I close and reopen the script, the issue is cleared from the 'PROBLEMS' pane. Easier though is to simply make another edit to the script, and the issue will disappear from the pane.

It appears that either that the script change event is not firing... or the call to psscriptanalyzer is suspended until further changes occur.

This can be annoying when loading multiple scripts and having to fix a simple issue across all of them, as the issues seem to stick in the 'PROBLEMS' pane without further actions.

@TylerLeonhardt
Copy link
Member

Thanks for opening this! We'll take a look.

@TylerLeonhardt
Copy link
Member

If you manage to get another repro of this, can you send me the logs? You can attach them here (preferred) or send them to [email protected]

@rjmholt
Copy link
Contributor

rjmholt commented May 24, 2019

There have been some performance improvements in the extension and in PSScriptAnalyzer, so this might be better now. Please let us know 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants