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?
Please sign in to leave a comment.
Settings (Preferences on macOS) | Build, Execution, Deployment | Compiler | Java Compiler | Javac Options | Generate debugging info
It didn't work, do I need to restart the program?
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.