Is it possible to make a comment in katalon studio colored ? Like how Warning looks yellow , Error looks Red and so?
You can change some color preferences in Preferences > Run/Debug > Console:
Standard Out text color
Standard Error text color
Standard In text color
Bacground color
when I press Start to run my application in VS 2017 Community my Output window disappears. (I use it for i.e. Debug.WriteLine().) How to prevent this?
P.S.
The output window I`m refering to (not the command line window!):
The output window
Thanks
~Julius
After starting your application (debug mode), click View > Output (Ctrl + Alt + O) to show the output window. Stop your application and restart Visual Studio. Next time you run your application the output window should be visible automatically because Visual Studio remembers your opened windows in debug mode.
Prevent it from autohiding using the 'Auto hide' icon in the right top corner (center of the three) of the Output window. That way it will stay docked.
You can make it a docked tab before running your program
On Menu Bar:
Tools -> Options
A Pop-up window appears:
Debugging -> General -> Automatically close the console(scroll down to last)
Check the box and close
It applied to projects for visual studio.
Press Any Key to Continue...
I have accidently enabled these dotted lines that exist on the left of each line of code as in the image below, I would like to undo it, I have tried to reset VS setting but it stayed there, any idea?
Edit -> Advanced -> untick View White Space
Or press Ctrl+R, Ctrl+W.
The Visual Studio editor highlights the current line by changing the background color of the current line. Is there a simple way to disable this highlighting? Otherwise, which parameter in Fonts and Colors dialog controls the background color of the currently selected line in the editor?
Is there a simple way to disable this highlighting?
Tools -> Options -> Text Editor, in the Display group, uncheck "Highlight current line"
Which parameter in Fonts and Colors dialog controls the background color of the currently selected line in the editor?
The colors are named "Highlight Current Line (Active)" and "Highlight Current Line (Inactive)"
To disable the border around the current line
In VS 2019
Go to : Environment -> Fonts and Colors:
Find the display item: Highlight Current Line
Set the item foreground color to: Automatic
In VS 2017 and earlier
Go to : Tools -> Options -> Text Editor:
Find the display items:
Highlight Current Line (Active)
Highlight Current Line (Inactive)
Set the item foreground color to: Automatic
if its visual code make
"editor.renderLineHighlight": "none"
The Visual Studio editor highlights the current line by changing the background color of the current line.
The only time I've seen this is when "Use Windows High Contrast settings" is enabled (Options > Environment > General)
With this setting disabled, I just get a subtle grey box to indicate the current line (this may depend on your Color Theme):
If you're using Resharper, it's:
Tools -> Options -> Text Editor:
ReSharper Current Line Highlight
press -> Ctrl + comma
Search => Render Line Highlight
select none from the options
In addition to the previous answer, I'd like to mention that Visual Assist (the tomato icon) also have an highlight current line feature, that can still be active while your Visual Studio highlight option is turned off.
This drove me crazy! Find it in Visual Assist Option panel, Display category.
So don't forget to also uncheck the VisualAssist highlight option.
edit
my settings:
Visual Assist option turned off
Visual Studio option turned on (in the Text Editors part)
In the font color settings, for Highlight current line (active and inactive), set the foreground to Automatic
Finally you can set your highlight color as you want with the background color.
Last point, sometimes Visual Studio mess things up even more, you may have to restart it, or close/open your tabs... sadly, YMMV.
For VsCode 2021 version users
Workspace > Text-Editor > Render Line Highlight > none
Visual assist and vsvim extensions were conflicting. So I disabled it within the visual assist options.
Uncheck the option: Highlighting->Highlight results of Quick Find and Find in Files.
For some reason "esc" doesn't work .
see title for question
"Open Tools->Options->Fonts and Color. Change the background color of the text editor and all text tool windows."
There is however a bug there :
"I have changed the background color for the code definition window in VS2008. However, when I close VS and open it again, the background color returns to the default color."
Response from microsoft :
"
Thank you for reporting this bug. We didn't discover it in time to fix it for Beta1, but you should see it fixed for the next release of VS 2010."
Link to the error report and a patch that will fix the problem here.
On you current install, go to Tools | Import and Export Settings.
Choose Export selected environment settings and click next.
Click the top box to remove the check box from everything.
Expand All Settings | Options | Environment.
Click to check the box next to Fonts and Colors
Click Next and save your file
Restart IDE