-
Notifications
You must be signed in to change notification settings - Fork 20
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
fix: version 2022.3 breaks by marking PreloadingActivity for internal usage #107
Conversation
You have successfully added a new SonarCloud configuration ``. As part of the setup process, we have scanned this repository and found no existing alerts. In the future, you will see all code scanning alerts on the repository Security tab. |
/hold |
75db43b
to
3db017c
Compare
/unhold |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dependency changes should be in a separate PR
|
3db017c
to
fd296a3
Compare
3f6ba37
to
ec2f616
Compare
rebased from the master after previous prs merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to be several concerns are mixed in this PR
@jeffmaury Background Today, the configuration is different, not only is it now used as a Initial Issue This seems to do the trick, now the executables were downloaded as expected, and I could verify stack analysis was working again. But... I couldn't verify component analysis because, as mentioned in the background, we're using a SNAPSHOT lsp4intellij and its configuration was changed dramatically from the last build done for this plugin's 0.5.0 release. Happy Side Effect |
I see another PR for updating the lsp4intellij dependency, so:
|
Yeah, you mean #106 which I opened based on one of your requests.
They were in this PR but you asked me to take it out:
They are not related, #106 is meant to fix another issue caused by a bad practice used in this plugin's design. i.e. using unstable snapshot versions made us oblivious to the fact that lsp4intellij version 0.95.1 broke diagnostics for opening files (works only for modifying files), hence #106 is pinning lsp4intellij to the last known working version 0.95.0 instead of the unstable snapshot version used today. |
… usage Signed-off-by: Tomer Figenblat <[email protected]>
ec2f616
to
ce056a6
Compare
Rebased. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@jeffmaury do you have any further comments? If not we will merge it. |
Fixes #35, Fixes #76, Fixes #81, Fixes #91, Fixes #92
Tested locally with versions:
Edit 1:
Looks like this fix, though fixed the issue at hand, introduced a new one.
With this fix, diagnostic is only performed for modifying an already open file, and not for opening one.
Edit 2:
The cause for the error described in Edit 1 is lsp4intellij.
This bug was introduced in version 0.95.1, and can be demonstrated using the master-snapshot as well.
However, pinning the version to 0.95.0 resolves this issue.
Pinning the version is handled in #106.