Question

Am I missing something or is it currently not possible to format AspectJ (*.aj) with eclipse built-in formatter?

I'm using eclipse kepler with AJDT-plugin and the formater doesn't do anything with those files. Currently I'm formatting manually.

Thanks in advance

Was it helpful?

Solution

You should be able to use the formatter. There are certain constructs that are not handled well or are just ignored. I can't quite recall, but I believe declare statements are ignored. So, it may be that your file does not contain any formattable code.

Also, check your error log to make sure there are no exceptions being thrown.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top