How do you stop variables renaming to var when making a Java class?

Answered

Variables rename to var(no.) after turning a .java file to a .class file. How do I make sure they keep their names?

3 comments
Comment actions Permalink

Settings (Preferences on macOS) | Build, Execution, Deployment | Compiler | Java Compiler | Javac Options | Generate debugging info

0
Comment actions Permalink

It didn't work, do I need to restart the program?

0
Comment actions Permalink

Rebuild the project. If the issue persists, please share the sample project to reproduce at https://uploads.jetbrains.com and provide the steps to trigger the problem.

0

Please sign in to leave a comment.