Developer's Diary
Software development, with Terry Ebdon
27-May-2020 VS Code wraps

VS Code Rulers & Wraps

The VS Code stkb Rewrap extension defaults to wrapping at column 72, when ALT-Q is used to re-wrap text.

I've used Atom to create a lot of markdown files, using a column width of 80. Not a huge problem, and both editors allow custom wrap margins. There's a VS Code extension that adds overly long lines to the problem list. It does this based on Code's ruler settings. It's a nice idea, but integration is a a little lacking. VS Code's re-wrapping feature isn't based on rulers, it's just a value set in configuration (same as in Atom). There's a single wrap margin, but there may be many rulers.

26-MAY-2020 👈 Top of page 👉 30-MAY-2020

© 2020 Terry Ebdon.

Find me coding on GitHub, networking on LinkedIn, answering questions on Stack Exchange and hanging out on twitter.