I want configure the Dart Editor for the formatting a such source code without a breaking the first line on parameter list.
Result of formatting.
String _expand(
List fragments, Map<String, MacroDefinition> definitions, String defaultValue, Set<String> processed) {
//
}
Is this possible in Dart Editor?
String _expand(List fragments, Map<String, MacroDefinition> definitions, String defaultValue,
Set<String> processed) {
//
}
PS
The above source code formatted with a 120 characters per line.
You can't configure anything but the line length in DartFormat. It was a deliberate decision to not support formats which deviate from the default format.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.