Khoa Bui
Khoa Bui

Reputation: 753

Configure default Language Level on IntelliJ

I am using IntelliJ 14 and my machine has JDK 7 installed. However, everytime creating new project, language level is 5.

Although i can change by going to Project Settings->Project-> Project Language Level and Project Settings->Modules->[Module Name]->Sources->Language Level, it takes time to do that for every project.

Can IntelliJ auto-detect my JDK and choose correct default Language Level or there's a default setting for Language Level?

Upvotes: 21

Views: 11033

Answers (2)

Nathaniel Metrock
Nathaniel Metrock

Reputation: 21

Update from IntelliJ IDEA 2021.2 (Community Edition)

File -> New Projects Setup -> Structure

discovered this using and the "find action" option from the help menu

Upvotes: 0

ap0calypt1c
ap0calypt1c

Reputation: 481

Did you check IntellJ documnentation before posting here?

Is it not this what are you searching for: https://www.jetbrains.com/idea/help/configuring-global-project-and-module-sdks.html

Edit: The correct answer is File -> Other Settings -> Default Project Structure

Upvotes: 15

Related Questions