I am looking into writing a plugin but struggling to get an environment working. There's soo much information but they seem to be out of date its quite confusing.
I have IntelliJ Ultimate 11.1.3 running on a Mac.
I downloaded the source code of IntelliJ CE Leda preview 12. I managed to get it to compile and even run.
According to the docs (http://confluence.jetbrains.net/display/IDEADEV/Getting+Started+with+Plugin+Development) I need to configure a IntelliJ IDEA SDK. I could not get that to work and also I was not sure if I should do that in the Intellij CE project or a new one for my proposed plugin.
According to the instructions, "Under Platform Settings, click SDKs, and then click the plus sign icon". Ok but then Finder opens straight away and so I don't get a choice of SDK type, "From the provided list, select IntelliJ IDEA Plugin SDK".
Any help appreciated. Perhaps I could go straight to some plugin that has its source available and open that as a IntelliJ project?