Home > OS >  How to increase max length of line in VSCODE editor?
How to increase max length of line in VSCODE editor?

Time:01-06

I have an issue where my code-lines wrap to the next line too soon and there's a weird empty margin on the right side of my editor, which takes up useless space. I thought it was the minimap at first, but it's not that. The size remains the same regardless of the editor window size.

I've probably added it by accident through some shortcut keys but can't find anything related to it from the settings.

enter image description here

CodePudding user response:

Looks like you have the Dart extension installed. If so, change Dart: Line Length to a higher number (9999999 if you want). 0 might also work to disable that option.

enter image description here

As it says, you might also need to change the rulers in the dart section of settings.json

enter image description here

enter image description here

CodePudding user response:

enter image description here Open Extensions on the menu on the left or File menu.

Then click on the extension settings button.

Change the line length for the extension you are working with.

  • Related