ides

DBNavigator plugin failed to start in Intellij 8.x

I just tried to use the DBNavigator plugin.

I restarted IntelliJ and it just hung there which led me on a trip to find out what was wrong.

First up I found the log files in

~/Library/Caches/IntelliJIDEA8x/log/

And saw this exception

Expected implementation for extension declaration (ep = com.intellij.completion.contributor)

This seems to be a general problem for plugins, e.g. the Scala plugin (http://youtrack.jetbrains.net/issue/SCL-1592).

So you need to remove the plugin which will have been installed here:

~/Library/Application Support/IntelliJIDEA80

Thanks to this post for triggering the solution.

Share

ides

Comments (1)

Permalink

IntelliJ Crashes on OS X

I have been running v.8 of IntelliJ on os x for a while now, and noticed the odd crash, particularly after waking up the computer.

Thanks to my colleague Tom Czarniecki I have found a solution that appears to be working.

Some googling turned up very little, but mostly points to the JVM being the problem. I had tried updating the Java installed on os x and setting the JDK to be 1.5 which did seem to improve stability but still crashed.

Tom pointed out that Intellij also has a configuration for the JDK version in its config which I updated to be 1.6+ and then switched my JDK back to 1.6 64bit. That was a week ago and not only have I had no crashes, of course the whole experience is smoother under 1.6! woo hoo!

The trick lies in the file

/Applications/IntelliJ IDEA 8.1.3.app/Contents/Info.plist
<key>JVMVersion</key>
<string>1.6*</string>

To Switch JDKs:

/Applications/Utilities/Java/Java Preferences.app

Some other references I found along the way:

http://www.jetbrains.net/devnet/thread/282406

JDK Update:

http://www.apple.com/downloads/macosx/apple/application_updates/javaformacosx105update4.html

To See IntelliJ Log output:

~/Library/Caches/IntelliJIDEA8x/log/

UPDATE:

For Intellij9:

/Users/jim/Library/Logs/IntelliJIdea90/idea.log

(I found this using the activity monitor and then “inspect process” and you can see a list of open files and ports)

IntelliJ stores its plugins here (Thanks to these guys) :

~/Library/Application Support/IntelliJIDEA80

Share

code
ides
jdk
os x

Comments (4)

Permalink

Navigate Backwards and forwards in Visual Studio

This should have been obvious but it took me about 15mins of googling to find. Which is funny as the menu items seem to be quite obviously on display under the “View” menu!

Anyway in Eclipse you do CTRL+LEFT_ARROW, CTRL+RIGHT_ARROW which is particularly useful if you have just jumped to the declaration of a method so you can go back to where you were.

In Visual studio the equivalent is CTRL+- (thats control and the minus key together) to go forwards, its CTRL+SHIFT+- (shift plus minus).

I have now re-mapped these to CTRL+ALT+LEFT_ARROW and CTRL+ALT+RIGHT_ARROW.

You map in Tools->Options->Keyboard its a bit tricky to find stuff they are called View.NavigateForwards and View.NavigateBackwards. You can discover these by just typing in the box at the bottom and it will show you what they are assigned to.

Share

ides

Comments Off

Permalink

More Unit

Gives you CTRL+J to jump to the test case.

This is the automatic download url, however it doesnt want to be configured with ganymede which means its not much use!

http://moreunit.sourceforge.net/org.moreunit.updatesite/

Share

ides

Comments Off

Permalink

Eclipse plugins…

I have created this page in the mind-web with the update sites for various eclipse plugins that are useful so i dont have to keep finding them over and over and over again.

Here it be:

http://jimbarritt.com/mind-web/index.php?title=List_of_useful_Eclipse_plugins

Share

ides

Comments Off

Permalink