I use Blackberry java plug-in for eclipse to write code. I have preprocessor statements in my code in the following way
//#ifdef OS50
//run this
//#else
//run this
//#endif
Every time I do "Format" (CTRL+SHIFT+F) on this bit of code, eclipse adds a space between '//' and '#'. So if I format the above code it ends up like this
// #ifdef OS50
//run this
// #else
//run this
// #endif
This then tells eclipse that I have comments rather than preprocessor directives. Hence I cant compile. Is there any way I could avoid eclipse doing this to my code when I format?