Getting org.intellij.lang.annotations as an external jar

Hi,

is it possible to get org.intellij.lang.annotations as a Maven jar, like it is possible for com.jetbrains.annotations?

cheers,
-nodje

1
5 comments
Avatar
Permanently deleted user

Still on the IntellijLang subject:
I have some of my code recognized as HQL without any annotation.
But any new part of code that I want to be supported as HQL language, requires a @org.intellij.lang.annotations.Language("HQL").

Why is that?

and, err, sorry for that, but I'm sorry but still unable to find the jar containing org.intellij.* even though the plugin is installed.
I've been looking for it in all IDEA folder under OS X (~/Library/Preferences/IntelliJIDEA80, ~/Library/Application Support/IntelliJIDEA80/, ~/Library/Caches/IntelliJIDEA8x) but coudn't find it.

thanks for helping

0

Hello nodje,

Still on the IntellijLang subject:

I have some of my code recognized as HQL without any annotation.

But any new part of code that I want to be supported as HQL language,
requires a @org.intellij.lang.annotations.Language("HQL").

Why is that?


The language injection can be configured either in the IDE settings (Settings
| Language Injection | Parameters) or via the @Language annotation. The predefined
methods are configured in the settings. The "Inject Language" annotation
adds the quickfix if possible.

and, err, sorry for that, but I'm sorry but still unable to find the
jar containing org.intellij.* even
though the plugin is installed.


redist/annotations.jar under the IntelliJ IDEA installation directory.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Avatar
Permanently deleted user

Thanks Dmitry,

I got it to work (and to know and understand the 'Settings -> Language Injection' section).

The existing library on Maven public repo is probably not managed by Jetbrains, Is it?


<dependency>
     <groupId>com.intellij</groupId>
     <artifactId>annotations</artifactId>
     <version>7.0.3</version>
</dependency>



 


It's wrong anyway (com.intellij instead of org.jetbrains.annotations) and clashes with the redist/annotations.jar which contains both org.jetbrains & org.intellij.lang.

It'd be nice to have something definitive from Jetbrains on the matter.
Projects need to compile in any environment anyway.

Cheers,
nodje

0

Hello nodje,

The existing library on Maven public repo is probably not managed by
Jetbrains, Is it?

<dependency>
<groupId>com.intellij</groupId>
<artifactId>annotations</artifactId>
<version>7.0.3</version>
</dependency>
It's wrong anyway (com.intellij instead of org.jetbrains.annotations)
and clashes with the redist/annotations.jar which contains both
org.jetbrains & org.intellij.lang.

It'd be nice to have something definitive from Jetbrains on the
matter. Projects need to compile in any environment anyway.


We've long wanted to publish official Maven artifacts for our redistributable
libraries, but unfortunately never got around to it. Hopefully some day...

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


1

We've long wanted to publish official Maven artifacts for our redistributable
libraries, but unfortunately never got around to it. Hopefully some day...


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


Perhaps today can be that day. I was also surprised to see it's not out there already.

0

Please sign in to leave a comment.