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

已回答

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

0

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

0

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

0

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

请先登录再写评论。