[英]Configure default Language Level on IntelliJ
I am using IntelliJ 14 and my machine has JDK 7 installed. 我正在使用IntelliJ 14,我的机器安装了JDK 7。 However, everytime creating new project, language level is 5.
但是,每次创建新项目时,语言级别为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? IntelliJ可以自动检测我的JDK并选择正确的默认语言级别或语言级别的默认设置吗?
Did you check IntellJ documnentation before posting here? 你在发布之前检查过IntellJ documnentation吗?
Is it not this what are you searching for: https://www.jetbrains.com/idea/help/configuring-global-project-and-module-sdks.html 这不是你在寻找什么: https : //www.jetbrains.com/idea/help/configuring-global-project-and-module-sdks.html
Edit: The correct answer is File -> Other Settings -> Default Project Structure 编辑:正确答案是文件 - >其他设置 - >默认项目结构
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.