Even though the JDK level field clearly states "requires restart" - many people over look that and become baffled.
Perhaps IDEA should show a dialog when pressing the OK button after changing that field, stating that this requires a restart - and ask the user whether he/she wants to reload the project.
What do you think?
Marcus Brito wrote:
If you just changed the language level, close and reopen the project. IDEA doesn't recognize language level changes until the project is reopened.
Perhaps IDEA should show a dialog when pressing the OK button after changing that field, stating that this requires a restart - and ask the user whether he/she wants to reload the project.
>> Perhaps IDEA should show a dialog when pressing the OK button after >> changing that field, stating that this requires a restart - and ask >> the user whether he/she wants to reload the project.
This has been confusing for some time now. Even though the JDK level field clearly states "requires restart" - many people over look that and become baffled.
I'm pretty sure I -had- already restarted (although I think I may have just gone for a coffee and thought I had...).
Perhaps IDEA should show a dialog when pressing the OK button after changing that field, stating that this requires a restart - and ask the user whether he/she wants to reload the project. What do you think?
Maybe, or IDEA should just not require a restart.
(One minor thought, which hasn't hurt me yet, but it would also be good to have language level at the module, not project level- I'm sure theres projects where that would be helpfull).
Marcus Brito wrote:
>> If you just changed the language level, close and reopen the project. >> IDEA doesn't recognize language level changes until the project is >> reopened.
>
It works fine for me.
Alain
If you just changed the language level, close and reopen the project. IDEA doesn't recognize language level changes until the project is reopened.
Alain Ravet wrote:
>> For some reason, #3386 isn't recognisng the assert keyword as valid
>> when using JDK level 5....
Weird - restarted IDEA and it picked it up. I'm pretty sure I had my
project already set as JDK5 but maybe I didn't... mmm.
This has been confusing for some time now.
Even though the JDK level field clearly states "requires restart" - many people over look that and
become baffled.
Perhaps IDEA should show a dialog when pressing the OK button after changing that field, stating
that this requires a restart - and ask the user whether he/she wants to reload the project.
What do you think?
Marcus Brito wrote:
An excellent IDEA :)
Arik Kfir wrote:
http://www.jetbrains.net/jira/browse/IDEADEV-182
Bas
10x, voted.
Bas Leijdekkers wrote:
>> Perhaps IDEA should show a dialog when pressing the OK button after
>> changing that field, stating that this requires a restart - and ask
>> the user whether he/she wants to reload the project.
Arik Kfir wrote:
I'm pretty sure I -had- already restarted (although I think I may have
just gone for a coffee and thought I had...).
Maybe, or IDEA should just not require a restart.
(One minor thought, which hasn't hurt me yet, but it would also be good
to have language level at the module, not project level- I'm sure theres
projects where that would be helpfull).
>> If you just changed the language level, close and reopen the project.
>> IDEA doesn't recognize language level changes until the project is
>> reopened.