AuthorAdrian Elsener

Eclipse will not find all classes with [Ctrl-Shift-T]

E

Today I stumbled upon the problem eclipse did not find some classes with the code completition or [Ctrl-Shift-T]. If you write the class name in the code everything looks ok. I tried to clean my workspaces with rebuild etc. did not work.
But there is hope: After deleting all content in .metadata/.plugins/org.eclipse.jdt.core eclipse re-indexes the workspace again and everything is ok. I guess -clean as startup parameter would work likewise but I can’t verify.

Why should I write tests?

W

Often I get asked: Why should I write a test. What should I answer? My preferred answer is: It’s an insurance to you. At the time you have tests for your code, somebody else can do modifications on your code and you are sure it still does what it should. Otherwise your test will fail. (Well some people think: Why should somebody else modify my code? That’s impossible, this code is too complex, as it can be modified by somebody else… But this is another story.) I also like the...

Recent Posts