Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
Description
It seems that there is some discrepancy / lack of understanding of which functionality we support as part of the formatting.
One aspect of it is misalignment between `LineWriter` and `IndentingLineWriter`.
The latter one seem to be used by default in the RangeFormatting support of QmlLS, and the former one in other cases : QQmlDocumentFormatting in QmlLS and qmlformat tool, etc.
IIUC IndentingLineWriter is a superior of the LineWriter, supporting Max line functionality as well.