Code Rush Visual Studio extension version 23.1.3
With Build Output Highlighting enabled, lines beginning with the text "ERROR:" do not get colored in the output.
With Build Output Highlighting enabled or disabled, lines beginning with the text "WARNING:" always get colored. I have to disable the Code Rush extension to get the coloring to go away on these lines.
I need to disable the output coloring so I can use a different extension to handle it, but this is impossible without disabling Code Rush completely. Something like VS Color Output would work, except Code Rush will fight with it over coloring warnings. https://marketplace.visualstudio.com/items?itemName=MikeWard-AnnArbor.VSColorOutput
Alternatively, I need output lines beginning with "ERROR:" to be colored as errors.
I don't want to disable Code Rush completely, it has a lot of good features in it, but these bugs are making it difficult for me to read/manage the build output window.
Hi,
You can disable colors in the Output tool window:
Do I understand correctly that disabling this option does not work for you? Also, can you attach some screenshots with output messages that CodeRush fails to color correctly?
When I disable coloring, lines that begin with "WARNING:" still get colored yellow. The only way for me to make that stop is to disable the Code Rush extension completely. I don't know if there is another setting that would cause the output window to get warnings colored, or if it is this feature disregarding the setting when coloring warnings.
Hi,
Unfortunately, I cannot reproduce this issue. You can see my attempts in the attached video. I also installed the https://marketplace.visualstudio.com/items?itemName=MikeWard-AnnArbor.VSColorOutput64 tool and it does not cause any issues with CodeRush on my machine. Everything works as expected after I disabled the Build Output Highlighting feature in CodeRush.
It is possible that something goes wrong on your side because of some exception. Please send me your CodeRush logs for investigation:
Another possibility - there might be a conflict with some other extension. Please send me a complete list of your Visual Studio extensions:
I look forward to hearing from you.
I've switched to using the vscoloroutput64 extension with Code Rush's color output turned off. That extension works and has options for controlling what gets colored and such. I'm attaching screenshots of what I see with Code Rush. I've disabled the vscoloroutput64 extension for these tests, when I reported the bugs I did not have that extension installed, and the result is still the same.
Test config:
Building a setup project (msi installer)
Variables:
Code Rush : enabled, disabled
Code Rush Color Output Option : on, off
Invalid States : Code Rush disabled + Color Output state
Results:
Code Rush disabled = output is not colored.
Code Rush enabled, Color Output off = Warnings are yellow, Errors are not colored.
Code Rush enabled, Color Output on = Warnings are yellow, Errors are red.
I'm working under contract and I don't want to go through the logs to see if there is any information that I shouldn't be leaking. I don't have any other extensions that affect the output window, and disabling Code Rush completely does resolve the issue of the output window having colors applied to it, so having code rush enabled with the color option off should still be able to produce the output that there aren't any colors in the output window. It's weird. Mostly I was bothered that when I enabled the color option the error messages were not colored. I was trying to save time by having the IDE visually indicate things that I should pay attention to, since the output from building Setup projects is very verbose and does not get picked up by the error list in VS 2022. You can close this ticket if you would like, I've spent too much time on this already and you are correct that it seems like vscoloroutput64 isn't bothered by whatever Code Rush output coloring is doing when it is disabled. If something changes for the worse, like if the output window gets borked because of conflicting extensions or something, then I'll have to disable Code Rush while I work on this project, which I don't really want to do.
Hi,
Thank you for the additional information. I was able to reproduce this issue using the setup project. We will fix it soon.
Thank you! Code Rush is awesome and you're all doing a great job! I'll be happy when I can remove this other extension for coloring output. I don't really know who made that one.