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

[Bug] Extension method highlighting not working properly in manifold-collections #18

Open
CC007 opened this issue Sep 20, 2023 · 1 comment

Comments

@CC007
Copy link

CC007 commented Sep 20, 2023

Describe the bug
Highlighting doesn't seem to work in the manifold project itself, for instance for ManIterableExt from manifold-collections.

To Reproduce
Steps to reproduce the behavior:

  1. Fork manifold and checkout the master branch in IntelliJ
  2. Set the SDK to java 8 (Zulu-8 used in this case)
  3. Run mvn clean package
  4. Open ManIterableExt from manifold-collections.
  5. Click the sync button in the Maven window in IntelliJ (not enough to get it to work)
  6. Click File -> Repair IDE and go through all steps (not enough to get it to work)

Expected behavior
I expect highlighting to work

Desktop (please complete the following information):

  • OS Type & Version: Windows 10
  • Java/JDK version: Zulu-8 (1.8.0_232, vendor: Azul Systems, Inc.)
  • maven version: 3.9.2 (c9616018c7a021c1c39be70fb2843d6f5f9b8a1c)
  • IDE version (IntelliJ IDEA or Android Studio): IntelliJ 2023.2.2
  • Manifold version: 2023.1.26-SNAPSHOT (latest master, commit: 9d2c5902)
  • Manifold IntelliJ plugin version: 23.2.2

Screenshots
afbeelding

Additional context
I don't get any IntelliJ stack traces, so it doesn't seem like the Manifold plugin crached.

@rsmckinney
Copy link
Member

@CC007 The manifold IJ plugin itself includes core components from manifold, such as the manifold-ext jar. Without getting too deep into the plugin's innards, when developing manifold their are two copies of manifold core types: the .class files included with the manifold jars and the source files in the project. Basically, because manifold itself doesn't depend on jar files of itself, the plugin is unaware of manifold usage.

This is a solvable problem, but one I haven't spent much time resolving as of yet.

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

No branches or pull requests

2 participants