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

Workaround for "Find Usages broken" bug in Scala Plugin #485

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lukaszwawrzyk
Copy link
Contributor

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.

@wisechengyi
Copy link
Collaborator

wisechengyi commented Feb 3, 2020

Hi, does it mean to replace #482? cc @tpasternak

Also the compile error in CI seems legit.

@tpasternak
Copy link
Contributor

Yes, exactly. @lukaszwawrzyk took this task for me

@olafurpg
Copy link
Contributor

Is this PR still relevant?

@tpasternak
Copy link
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.
@lukaszwawrzyk lukaszwawrzyk force-pushed the workaround-for-scala-find-usages-bug branch from 72638aa to d35c45b Compare August 24, 2020 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants