Starting with IDEA CE 12 SDK
hello...
I need some hints as to how to set up plugin development. I'm looking at the appropriate online documents, but the procedure is not really clear for me. Here is what I have
- OS X 10.6, Java 1.6, running IDEA CE 12.0.2
Here is what I did
- cloned git://github.com/JetBrains/intellij-community.git
- checkout branch '123' (apparently the final branch for IDEA 12)
- run IDEA 12 (the normal binary installation), and Open Project -> point to the checked out IDEA directory
- open Project Structure
- go to Project Settings -> Modules -> plugins -> IntelliLang -> IntelliLang -> Dependencies -> Module SDK -> New
- IDEA automatically suggests the /Applications/IntelliJ IDEA 12 CE.app folder
- and choosing JDK 1.6
- yielding "IDEA IC-123.123"
Now I build the project, it compiles for quite a while, but ultimately fails with 7 errors:
java: /Users/hhrutz/Documents/devel/idea/platform/platform-impl/src/com/intellij/ide/ui/AppearanceConfigurable.java:151: cannot find symbol
symbol : variable USE_SMALL_LABELS_ON_TABS
location: class com.intellij.ide.ui.UISettings
java: /Users/hhrutz/Documents/devel/idea/platform/platform-impl/src/com/intellij/ide/ui/AppearanceConfigurable.java:152: cannot find symbol
symbol : variable USE_SMALL_LABELS_ON_TABS
location: class com.intellij.ide.ui.UISettings
java: /Users/hhrutz/Documents/devel/idea/platform/platform-impl/src/com/intellij/ide/ui/AppearanceConfigurable.java:227: cannot find symbol
symbol : variable USE_SMALL_LABELS_ON_TABS
location: class com.intellij.ide.ui.UISettings
java: /Users/hhrutz/Documents/devel/idea/platform/platform-impl/src/com/intellij/ide/ui/AppearanceConfigurable.java:267: cannot find symbol
symbol : variable USE_SMALL_LABELS_ON_TABS
location: class com.intellij.ide.ui.UISettings
java: /Users/hhrutz/Documents/devel/idea/platform/platform-impl/src/com/intellij/openapi/vfs/encoding/EncodingManagerImpl.java:86: cannot find symbol
symbol : variable POOLED_THREAD
location: class com.intellij.util.Alarm.ThreadToUse
java: /Users/hhrutz/Documents/devel/idea/platform/platform-impl/src/com/intellij/ide/actions/SwitcherToolWindowsListRenderer.java:87: cannot find symbol
symbol : method toSize(javax.swing.Icon,int,int)
location: class com.intellij.util.IconUtil
java: /Users/hhrutz/Documents/devel/idea/platform/platform-impl/src/com/intellij/internal/statistic/updater/SendStatisticsProjectComponent.java:41: cannot find symbol
symbol : variable POOLED_THREAD
location: class com.intellij.util.Alarm.ThreadToUse
What should I do?
Please sign in to leave a comment.
Back in the project, there is also a yellow banner: "No IDEA annotations attached to the JDK IDEA IC-123.123 (/Applications/IntelliJ IDEA 12 CE.app), some issues will not be found" -- I don't know if this has any relevance.
Ok, I think I'm one step further. Instead, I build the sources from a terminal with `ant build`, that succeeded. Now trying to set up a basic plugin project.
Managed to set up a plugin and run it in the sandbox now
Hi Hanns,
That's great! Maybe would be great to tell the steps you made would bring lot of value in the thread (even you figured out it's benefic for others).
I think the steps to set up are pretty clear- http://confluence.jetbrains.com/display/IDEADEV/Getting+Started+with+Plugin+Development
- basically it is completely different from what is above.