Community
Participate
Working Groups
i20031105 with Equinox 20031010 The formatter refused format a block of code, and an entry was added to the log. Will attach the session .log.
Created attachment 6672 [details] .log file
I will investigate.
Your code is not syntactically correct. Missing '}' in installBundles(). So the new formatter cannot format your code and returns no edit. Close as INVALID?
If the idea is to stop logging it when the formatter is more stable, I agree.
Move to JDT/UI for comment. Would it be possible to distinguish source with syntax errors from source that the formatter fails to format? Move it back when you replied.
In this case, I can actually format all methods except the one that contains the syntax error. This one is left as is. This is possible in this case, because the diet parse was successfull and only the parsing of one method body failed. In general, the formatter cannot format code that is not syntactically correct, but in this case we can do something. I consider this enough to close this PR. Fixed and released in HEAD. Regression test added.
Verified.