Workaround for "Find Usages broken" bug in Scala Plugin#485
Open
lukaszwawrzyk wants to merge 1 commit intopantsbuild:masterfrom
Open
Workaround for "Find Usages broken" bug in Scala Plugin#485lukaszwawrzyk wants to merge 1 commit intopantsbuild:masterfrom
lukaszwawrzyk wants to merge 1 commit intopantsbuild:masterfrom
Conversation
Collaborator
|
Hi, does it mean to replace #482? cc @tpasternak Also the compile error in CI seems legit. |
Contributor
|
Yes, exactly. @lukaszwawrzyk took this task for me |
Contributor
|
Is this PR still relevant? |
Contributor
|
Hm, it seems we created a hook for this in scala-plugin but we don't use it JetBrains/intellij-scala#498 |
Bug tracker: https://youtrack.jetbrains.com/issue/SCL-16768 Correct initialization of `ScalaCompilerReferenceService` is required for "Find usages" feature to work correcly. Unfortunately, it's broken in that way, it does nothing when there are no modules in the project right after the moment, when the project is opened. This happens when a project is imported, the module creation starts after opening then.
72638aa to
d35c45b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Followup on #482 as I will work on completing that issue. We will have to wait for this JetBrains/intellij-scala#498 to be released first.