How can I expand the max width of the Run Tool Window in Clion/Intellij?

拥有回忆 提交于 2019-11-28 06:26:46

问题


As you can see, there's plenty of space for the text to expand to the right, but it gets wrapped at 120 characters. I have tried turning off soft wrapping (the little button on the right side), I tried going into the settings, under editor -> general -> console, unchecking "use soft wraps in console", and increasing the "console commands history size", but none of these have worked. I'd like for the cout of my program to continue to the right, and ideally just make a horizontal scroll bar rather than wrapping or truncating. Is there a way to do this in CLion/Intellij?


回答1:


120 is the default value for windows console. To change the value 1. you can set the OS-wide system variable CONSOLE_WIDTH. 2. setup CONSOLE_WIDTH inside you run configuration:

then Registry... (aka Help -> Find action -> Registry...) got to be invoked to opt out value of run.processes.with.pty



来源:https://stackoverflow.com/questions/52268686/how-can-i-expand-the-max-width-of-the-run-tool-window-in-clion-intellij

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!