Intellij shows decompiled .class file instead of source code

已回答

My issues is the same as 

https://intellij-support.jetbrains.com/hc/en-us/community/posts/360000123810-Intellij-shows-decompiled-class-file-instead-of-source-code

 

I tried everything from the links provided in the "Answers" but nothing helps.Ss thee a way to exclude.class files when i try to  search for implementation  at all from all types of searches 

1

Do you have issue with JDK sources or with project library dependencies? Do you use Maven or Gradle?

Check that the sources are attached to the JDK (or libraries) in their settings: File | Project Structure | SDKs | <JDK name> -> Sourcepath tab or File | Project Structure | Libraries | <Library name used in project> -> Sources node.

0

Full reinstall of the ide was the only way to fix issue.

1

请先登录再写评论。