ides

Intellij svn history keeps “partial” commits

I found that after an update, I was still seeing some entries lying around. Thanks to this issue on the intellij community forum I was able to simply remove the contents svn cache and it works.

~/Library/Caches/IntelliJIdea90/vcsCache
Share

ides

Comments Off

Permalink

Link from log console output to a line of code in IntelliJ

Whilst playing around with some code analysis I thought it would be useful to be able to output a hyperlink back to a line of code in the IDE console. As it happens, you can “Trick” IntelliJ to do this with the following log statement:

    @Test
    public void canClickOnAFileInTheConsoleAndGoToTheLineOfCode() {
        log.info(String.format(“Check it at %s. (%s.java:%d)”,
            getClass().getName(), getClass().getSimpleName(), 15));
    }

The pattern it seems to match is something like at {classFullName}.{identifier}({classSimpleName}.java)

classFullName has to be a valid class name.
identifier is usually used for the method name, but it can be anything. The full stop is nescessary. So in the example above, I put a space in there and so it reads like a sentance.

Anyone know a another way to do this?

UPDATE:

Actually it seems that you can get something similar if you output a full path name, e.g.:

    File f = new File(“./src/test/resource/testfiles/level_01/level_01_01/file_01_01_A.txt”);
    log.info(f.getAbsolutePath() + “:” + 34);

This will create a link in the output window to the line of the file. Nice.

Share

code
ides
java
thoughtblog

Comments Off

Permalink

Online Mind Mapping Tool

Mind mapping, invented by Tony Buzan is a way to get lots of ideas down and relate them together.

MindMeister is a great online Mind Mapping tool. It can be used for free but for $59 for a year you get things like offline access. It is completely written using html and javascript.

Map On!



Share

ides
modelling
thoughtblog

Comments Off

Permalink

REST client plugin in IntelliJ

Was just browsing the plugins and found this one which is looking good.

REST Client plugin

It was also available from the plugins list in the settings.

Rest Client intellij plugin screenshot

Rest Client intellij plugin screenshot

Share

code
http
ides
thoughtblog

Comments Off

Permalink

BashPlugin For IntelliJ fails under snow leopard

I Just recently upgraded to Snow Leopard and tried to install the Bash Script plugin for intellij.

On restart, IntelliJ just did not work, even After I removed the plugin (See this post for more plugin details)

Infact it seemed to hose my current project aswell – I had to remove intellij.app and replace it with the original download (Not forgetting of course to set the JVM version

Share

ides

Comments Off

Permalink