Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I turn on word wrap for Output window in VS code?

I'm running my code using the extension "Code Runner" and would like the output to be displayed word-wrapped. Currently when I run it, it displays the output all in a single line even if it's a long line.

I tried the setting "editor.wordWrap": "on".

This is how the output and editor look like:

This is how the output and editor look like:

like image 305
Paula Rodrigues Avatar asked Jan 17 '20 02:01

Paula Rodrigues


Video Answer


1 Answers

Try adding this to your settings:

"[Log]": {
  "editor.wordWrap": "on"
}
like image 104
Diogo Rocha Avatar answered Sep 18 '22 14:09

Diogo Rocha