Programmatically get a projects 'Language Level' setting.

Hi,

I was wondering if the Open API provided a way to access the 'Language Level' property of a module. It is set through the UI on the 'Project | Paths' panel, in the combo box at the base of the panel.

Any ideas?

Regards,

-Daniel

2 comments
Comment actions Permalink

Daniel wrote:

Hi,

I was wondering if the Open API provided a way to access the 'Language Level' property of a module. It is set through the UI on the 'Project | Paths' panel, in the combo box at the base of the panel.

Any ideas?

Regards,

-Daniel

PsiManager.getEffectiveLanguageLevel()

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

I think its time i had a closer look at the Psi API. Thanks maxim.

Regards,

-Daniel

0

Please sign in to leave a comment.