Support for languages other than Java

I am wondering if it would be possible for someone to write a plugin
so IntelliJ could support a language other than Java. I am not
thinking about C++, but rather about languages like Scala
(http://lampwww.epfl.ch/scala/), that are more or less compatible with
the Java philosophy (compiler generates Java byte code, language is
strongly typed, ...).

Alex

2 comments
Comment actions Permalink

Right now there is no API for new languages. I suspect their parsing structure
is too Java and XML oriented (not sure if they use their own parser; I suspect so.)
You can write your own Editor component that will display the other language nicely,
but you have to write everything from scratch: compile command, find usages, etc.
If the language has a standalone parser, you can color your editor based on parsing results.

Alessandro Vernet wrote:

I am wondering if it would be possible for someone to write a plugin so
IntelliJ could support a language other than Java. I am not thinking
about C++, but rather about languages like Scala
(http://lampwww.epfl.ch/scala/), that are more or less compatible with
the Java philosophy (compiler generates Java byte code, language is
strongly typed, ...).

Alex


--

Erb

==============================================================
"Most of you are familiar with the virtues of a programmer.
There are three, of course: laziness, impatience, and hubris."
- Larry Wall
==============================================================

0
Comment actions Permalink

Alessandro Vernet wrote:

I am wondering if it would be possible for someone to write a plugin
so IntelliJ could support a language other than Java. I am not
thinking about C++, but rather about languages like Scala
(http://lampwww.epfl.ch/scala/), that are more or less compatible with
the Java philosophy (compiler generates Java byte code, language is
strongly typed, ...).

Alex


I am afraid it is impossible to write such plugin at the moment.
As to writing support on our own, it all depends on marketing value
of supporting a language, as you may well understand.

We hope we will be able to support multiple languages at some point
in upcoming IDEA for .NET (where this has an abvious marketing value).

BTW, Scala looks quite interesting. Seems to be one of those "summarazing"
languages that try to present features as higher-order functions,
parametric polymorphism and others in forms digestible for "oridinary"
developer. Thank you pointing to it.

Cheers,
Dmitry

--
Dmitry Lomov
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"

0

Please sign in to leave a comment.