Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Express Basics Using Templates with Express Using Pug in Your Express App

Brendan Moran
Brendan Moran
14,052 Points

Text wrapping in pug file

How is Andrew getting the text wrapping for the barnyard ipsum? When I copy it in, it's an enormous single line that results in a big horizontal scroll bar. No me gusta. I can't find a setting for this in vscode.

1 Answer

Simon Coates
Simon Coates
8,377 Points

With my version of vs code, under the 'view' menu, there's a 'toggle word wrap' option (and associated shortcut).