VSCode中输出视图中CMake/Build输出的断线



Visual studio代码显示CMake/Build的输出,而不会在窗口宽度处打断长行,类似于:

[build] FAILED: /path/to/the/source/code/that/caused/the/error/long_source_file_name_with_description_of_functionality.cpp  This is the reason why compilation stopped etc etc etc ... In member function 'void MyFunction(int arg1, double arg2)'

社区版有一个名为";切换换行符"为了让您可以选择打断这些行,即使它们适合控制台宽度,例如,前面的消息将显示为:

[build] FAILED: /path/to/the/source/code/that/caused/the/error/
long_source_file_name_with_description_of_functionality.cpp  This is the 
reason why compilation stopped etc etc etc ... In member 
function 'void MyFunction(int arg1, double arg2)'

这在Visual Studio代码中可能吗?

编辑:存在这样一个问题,其中描述了设置"editor.wordWrap": "on",但似乎不存在输出视图的等效设置,即"output.wordWrap": "on"不是有效设置。

能够通过Python相关问题找到解决方案。要调整的设置是:

"[Log]": {
"editor.wordWrap": "on"
}

最新更新