mechatroner / vscode_rainbow_csv

🌈Rainbow CSV - VS Code extension: Highlight CSV and TSV files in different rainbow colors to make them more readable
MIT License
426 stars 51 forks source link

Line length #140

Closed umamibeef closed 1 year ago

umamibeef commented 1 year ago

I was not able to find this through search. How do I set the maximum line length? I'm guessing it's the linter doing this, but it doesn't like it when a column exceeds a certain number of characters, causing it to automatically create a new line for me. I don't want this behaviour.

Thanks in advance!

mechatroner commented 1 year ago

Rainbow CSV doesn't have this feature, this is likely built-in VSCode word-wrap functionality, there seem to be a few settings related to the word-wrap behavior that you can adjust including "editor.wordWrap" and "editor.wordWrapColumn" see https://stackoverflow.com/a/60060509/2898283 and https://linuxpip.org/vscode-enable-word-wrap/

umamibeef commented 1 year ago

I figured it out, it's indeed CSVLinte complaining, but it's about an un-even number of fields. Now to figure out why it's not respecting my comment character...

Edit: How do I disable CSVLint entirely? Edit2: Nevermind, looks like the Rewrap extension was the culprit.