Frage

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

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top