Posted by: pureessence on: June 23, 2011
My Eclipse 3.6 froze today at startup. I think what I did was that I clicked on the shortcut a bit too fast and two instances of Eclipse started running at the same time. I got an error message for one saying “workspace in use”. I killed the one that showed the error message but [...]
Posted by: pureessence on: June 15, 2011
More info – old issue but I ran into it on every freaking machine at home. After I installed the m2eclipse plugin on Eclipse 3.6, I keep getting the following warning on the console: The solution that worked for me is changing the shortcut properties for eclipse e.g. I couldn’t get the eclipse.ini updates to [...]
Posted by: pureessence on: June 9, 2011
After I started using JUnit 4, I really want Eclipse to automatically import org.junit.Assert.* statically for me. So when I do ctrl+space on methods like assertTrue, it will do: for me. I’ve figured it out for a while but I’ve been noticing it conflicting with my save action -> organize imports setting. I finally got [...]
Posted by: pureessence on: May 25, 2011
It’s always annoying when you do a search (ctrl+h) in Eclipse and it produces results from directories you do not care about. In my particular case, the project’s ant build expands the built war files into a directory named target. Since this directory duplicates the files in the regular WebContent directory, often times I end [...]
Posted by: pureessence on: December 11, 2008
Eclipse has a scrapbook function that allows you to run Java code on the fly. Sometimes you just want to test out a simple piece of code without having to create another Java class, execute it in the main method or create a junit to test it out. For example, today I wanted to make [...]
Eclipse 3.6 toggle comment findings
Posted by: pureessence on: May 20, 2011
Despite of the usual convention of using ctrl+/, I found ctrl+shift+c is actually the way to go if you want it to work on everything. I care mostly about being able to toggle comment in the following file types: source code – comment with // or /* and */ block markup e.g. xml/html – comment [...]