如何在 VS 代码中为输出窗口打开自动换行? [英] How do I turn on word wrap for Output window in VS code?
本文介绍了如何在 VS 代码中为输出窗口打开自动换行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用扩展名Code Runner"运行我的代码,并希望输出显示为自动换行.目前,当我运行它时,它会将输出全部显示在一行中,即使是很长的一行.
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.
我尝试了设置 "editor.wordWrap": "on"
.
这是输出和编辑器的样子:
This is how the output and editor look like:
推荐答案
尝试将其添加到您的设置中:
Try adding this to your settings:
"[Log]": {
"editor.wordWrap": "on"
}
这篇关于如何在 VS 代码中为输出窗口打开自动换行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文