How to prevent Visual Studio Code Flutter/Dart Editor from formatting new line/wrapping code?
1,293
Follow the instructions below:
- Open
Settings
. - Expand
Extensions
and clickDart & Flutter
on the left. - Find
Dart: Line Length
. - Change it to the value you want.
Author by
khalid Saud
Updated on December 28, 2022Comments
-
khalid Saud over 1 year
I recently started working on Flutter/Dart, I like the flutter autoformatting on-save, but one thing might or might not be related is the code wrapping for long code even if code is still fitting my 4k editor window.
Is there a way to prevent new line but keep the comma auto format?
Thanks