Community
Participate
Working Groups
Currently, the formatter is run even if the file is on error. It does nothing because we need a correct file to format but it is already launched. The editor blinks and there no information to warm the formatter can not be launched.
Fix integrated with ba12d5523c0227e83cebc057c3a04521dc3acc64
Created attachment 221503 [details] Formatter crahes on ASTs containing error.
I tried the fix, but there are dome details which bothers me. When user try to format source which contains error(s): 1. The formating does not occur, but there is no user message in the bottom bar. 2. The stack trace indicates that formatter simply crashed trying, it would be better to have it terminating nicely I joined the stack trace
This is fixed in 1.2M2 version.