Writing IntelliJ Scala Plugin Plugins? - java

Given that Scala support is itself a plugin in intellij, is there any way of writing intellij plugins leveraging the existing Scala functionality?
Things like support for parsing Scala, getting an AST, traversing the class/trait hierarchy, etc. should already be a part of the scala plugin, and I was wondering if I could make use of all these niceties from the get-go without having to redo it all myself.

It's possible since Intellij plugins can depend on each other
See e.g. http://plugins.intellij.net/plugin/?idea&pluginId=7080 and http://plugins.intellij.net/plugin/?idea&pluginId=5007

Related

In IntelliJ or any other IDE, is it somehow possible to show/link the sources of native method calls?

Similar to how you might attach JDK sources, I was wondering if it were somehow possible to show/attach the native method implementation sources. I love reading and delving deeper into language sources, and being unable to easily view those sources kind of bugs me.
Starting from version 14, Intellij provides a decompiler out of the box. As per Eclipse or eclipse based IDEs, there's plenty of good plugins out there that you can find on eclipse Market. One of them is JD.

Is it possible to add custom build tool to IntelliJ IDEA?

I'm currently working on some projects using the Eta programming language.
It is a new purely functional programming language that runs on the JVM. Because of this, sometimes it requires to write Java code to make wrappers.
Currently, I'm working using Emacs, but for Java, I think that IntelliJ is the best IDE out there.
The thing is, Eta relies on a custom build tool, called Etlas. And although there are plugins for SBT and Gradle, Etlas works the best for Eta.
Etlas handles maven dependencies itself. Is there a way of adding this build tool to IntelliJ so it can see where the dependencies were downloaded and one can use the Java autocompletion when working on Java code?

What is the default build process used by IntelliJ for Java projects?

Building Java projects straight from the IDE in IntelliJ has been nice. It's fast and it just works. I wasn't able to find any documentation on how IntelliJ does these default builds. I'm guessing it uses Ant? What I want to do is automate this fast and painless build process for anyone who downloads my project. Is that possible?
I've usually used Maven, but it's very slow and error prone. I actually wasn't even able to convert this to a Maven project, because Maven refuses to find JUnit despite setting up the dependency according to examples in the official docs. I also tried to generate Ant build files from the IDE, but those do not work out of the box and after googling a bit, seems like that is not a good approach?
IntelliJ IDEA has its own build system, called JPS. It has limited support for automatic download of dependencies and it's really hard to invoke from the command line, so it's unlikely to be the best option for everyone who downloads your project, unless you want to force them to use IntelliJ IDEA.

Does Eclipse plugin have to be written in Java?

I read some tutorials about making Eclipse plugins, but every text was just about Java coding. Does it really have to be Java or there is some way to write a plugin in some other JVM language such as Scala or Clojure?
You can use all languages that are based on JVM. You need to simply add a dependency jar (e.g. Scala dependency).
Tested live, so it must work!
Current version of Scala IDE is written in Scala

Eclipse Checkstyle Plugin works with Java 1.5?

I wanted some tool which could check all the standard violations that I make while I write code. After some search I found Eclipse Checkstyle Plugin suitable to my requirement.
I have not yet tried out using this. Information about this tool was found in this site
http://checkstyle.sourceforge.net/
Can some on who has used this tool tell me whether this tool works fine for applications that have Generics and wrapper classes.
Oh Yes, we use Checkstyle regularly in our project. This proves it works fine for 1.5.

Categories

Resources