I’m trying to change the line length for Code wrapping in VSCode I’ve tried a lot of solutions here in Stackoverflow but it didn’t work out for me, something weird.
This is an image of a dart code shows the code wrapped if it exceeded that column:
It took me long to find but finally here in Stackoverflow.
changing only editor.wordwrap in settings.json won't do it for Dart code/formatter, these setting I think is for general Vscode but should be added also:
2
Answers
It took me long to find but finally here in Stackoverflow. changing only editor.wordwrap in settings.json won't do it for Dart code/formatter, these setting I think is for general Vscode but should be added also:
As for it to work for "Dart" code, these settings should be added:
Thanks for all who answered in that question: Changing wordwrapping and formatting for Dart code in VSCode
You can try to add these (adjust the numbers yourself) in your settings.json: