Want to change VS Code line auto wrap column when formatting dart files? Default maximum line length is classic 80 characters, so for your code you would need a lot of padding to hit the limit so formatter would break the line. If this is an issue – consider splitting your code.
This is properly formatted:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | class MyApp { void insideclass() { if (true) { if (true) { if (true) { if (true) { if (true) { if (true) { if (true) { if (true) { var tuple = settings.arguments as Tuple3<String, int, Field>; } } } } } } } } } } class MyApp2 { void insideclass() { if (true) { if (true) { if (true) { if (true) { if (true) { if (true) { if (true) { var tuple = settings.arguments as Tuple3<String, int, Field>; } } } } } } } } } |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.