-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FR: Colorized output #10890
Comments
Hi @H-G-Hristov . Could you help me better understand the scenario you're referring to? Is a I believe the only compilation directly associated with the C/C++ extension is the command line generated into a Perhaps there is some settings I'm not finding? :) |
@Colengms I have Cmake project and when I build it from the CLI in the terminal I get nice colorised output as seen on the screenshot. The colorised output makes it much easier to review the huge wall of text generated by the build system and the compiler. It would be great if the Output window provides such colorised output too. |
Hi @H-G-Hristov . Could you confirm the "output channel" that output is coming from? I assume it must be coming from the CMake Tools extension (which owns the output channel "CMake/Build"). If so, you might consider opening the issue in the CMake Tools repo (or we can transfer this one). The C/C++ extension does not have any control over what is output to that channel. |
@Colengms Yes, you are absolutely right. I forget that The same will be also useful in the C/C++ channel too. |
Hi @H-G-Hristov . Sounds good. We can use this issue as a feature request to track adding some color to the C/C++ output channel. |
@H-G-Hristov Also, if there was a particular subset of the C/C++ output channel that you wanted color for, we could potentially move that out to a separate panel (e.g. the raw clang-tidy output). |
Thank you for asking. So I didn't have anything particular in mind but I can try explaining as an user from the tip of my head: I am using the dark theme. A long wall of text, which needs to be scrolled, especially in a small panel, becomes hard for me to read and parse and I am missing details. Also while it maybe useful to have all the output in the same place. There should be options to quickly switch between different outputs: compiler output, clang-tidy, cmake, etc. (specifically in the "Problems" panel). All of this should apply to the different panels: "Problems", "Output", etc. One particular issue that I see with "Output', which I guess is a VSCode issue but it doesn't get fixed, is that unlike the rest of the panels, the "Output" panel's font size is tied to the editor and changes if the editor's font size is changed. This is distracting in the sense that I'd like to have a larger font in the editor (as it gets larger screen estate) but smaller font size in the panel, so I can see more text in a smaller area. |
For the Problems panel, VS Code itself handles the filtering by the filter box in the top right and there is no API available to extensions to extend that. The Outupt window font size is controlled by VS Code -- I thought "[output]": {
"editor.fontSize": 6
} would work, but it is not, so you may want to file a bug report or feature request on them to enable that to work. |
This feature request is being closed due to insufficient upvotes. Please leave a 👍-upvote or 👎-downvote reaction on the issue to help us prioritize it. When enough upvotes are received, this issue will be eligible for our backlog. |
This feature request has received enough votes to be added to our backlog. |
Feature Request
If a compilation/execution in performed in the Terminal window the output is colorized. But for the compilation the output in "Output" is not. Interactive, colorized text in "Output" will be great.
The text was updated successfully, but these errors were encountered: