Adding JAVA8 to profile inside intellij
I want to migrate my project to java 8 , for that i am using inspection tool present in #Intellij, I want to add java8 to profile present in inspection. So, that I when i run inspection i would be able to automatically turn code to java8.
Image above shows profile option where in want a java8 xml file to be added.
If i don't java8 xml file added in profile and when i run inspection i am unable to find java8.
Please sign in to leave a comment.
Hi, it's not very clear why do you need the new profile and what exactly you can't find. Did you use this link https://www.jetbrains.com/help/idea/2016.2/tutorial-migrating-to-java-8.html and encounter some issues in step "Configuring and running language level migration inspections"?
Also, which version of IDEA do you use? E.g. java 8 inspections are present in 2022.1 in Preferences | Editor | Inspections | Java | Java language level migration aids | Java 8 and should be turned on by default.