[CLOSED] analysis server: can "edit.format" be made to support configurable line lengths?
nex3 opened this issue · comments
Originally opened as dart-lang/sdk#23519
This issue was originally filed by l33ts0n...@gmail.com
The "edit.format" command of the analysis server does not accept a configurable line length. However, the "dartfmt" command does. I'm currently using the analysis server to drive text buffer formatting in an Atom package and would like to use the user's preferred line lengths from the editor when invoking "edit.format".
This comment was originally written by alexander.dor...@gmail.com
This feature is also requested by IntelliJ IDEA and WebStorm users: https://youtrack.jetbrains.com/issue/WEB-16730
Comment by bwilkerson
https://codereview.chromium.org/1154303005/
There is now (or after the next release there will be) an optional parameter for edit.format that allows the line length to be specified.
Added Fixed label.