Visual Studio 2022 tabs colorizing not working properly - visual-studio-2022

I have a relatively large solution with 20+ projects.
I would like the tabs of the files to be colorized by project so I used this settings:
Unfortunately, Visual Studio 17.3 uses the same color for more than 1 project....
This is 3 different documents from 3 different projects but I see 2 separate colors:
What else should I set?

It looks like Visual Studio may have a slight ineptitude when trying to determine the colors. I had the same issue between my main project and a unit test project (they both had the same color).
Luckily, it looks like you can select the desired color that you want for each project, and after doing so, anytime you open a file in the project, it will now use that color, fixing the issue. To set the color, I recommend the following way (to better see which projects use what color):
Click the gear icon at the top right of your tabs
Click either place tabs on left or right
Right click any tab in the project you wish to change the color of
At the bottom of the list, select "Set tab color" and choose a new color.
Repeat steps 3 and 4 for all the projects you need to switch the color of.

Related

How do I change highlighting on a dark L & F

Netbeans 9.0
Win10-64 & Win7-64
I've set my background to black - I forget the motif name and I can't find out how change it again. Java highlighting of same objects (methods, object names, etc.) is all but unreadable. I've tried to find a place to change it (Tools->Options->Fonts & Colors->Highlighting) and can't find the right highlighting option. Ditto for breakpoint highlighting.
And in addition, the cursor can not be seen. Probably the cursor color is black and can't be seen on a black background.
For example, click on internalFrame and others are highlighted and unreadable (the first 'internalFrame' is readable, the rest not):
JInternalFrame internalFrame = new JINternalFrame();
internalFrame.method1();
internalFrame.method2();
Is there a way to change these highlights?
Is there a way to change these highlights?
Yes, but you have to go to different places to change them, depending on what you want to change:
(1) To change most coloring for the edit window containing program source:
Tools > Options > Fonts & Colors
Select the Syntax tab, and then select Java (or whatever language you are using) from the Language drop list.
Most of the options you want to modify are probably listed in the Category window.
Beneath the Category window is a Preview window which will immediately show you the effect of changing the Foreground and/or Background colors for a given Category entry. As an (extreme) example, this screen shot shows the effect of changing the font color to yellow and the background color to red for Java identifiers:
Some Category entries which are not language specific (e.g. URL, Whitespace) can be found by selecting All Languages from the Language drop list.
There is a Restore button in the top right of the screen if you mess up, and want to revert to the defaults.
(2) To change the cursor color:
Tools > Options > Fonts & Colors
Select the Highlighting tab, and then select Caret Color from the Category window.
Select Foreground and Background colors as appropriate.
(3) To change the highlighting for breakpoint lines see the answers to the SO question How to change background color of line highlighting during debug process in Netbeans?
Notes:
Although you didn't ask, you also have limited ability to change the colors used in the Console windows: Tools > Options > Miscellaneous > select the Terminal tab.
There are many dark color schemes available for NetBeans, so if the one you are using has annoying limitations just try some of the alternatives. NetBeans 8.2 offers a few under Tools > Plugins > Available Plugins, such as Darcula LAF for NetBeans, Dark Look And Feel Themes and 2pmTech L&F.
Also, here are a couple of sites that offer many NetBeans themes with previews: https://netbeansthemes.com/ and http://svenspruijt.nl/themebuilder/

Create different theme for different instances of android studio

I will give my use case first. I have two similar android studio projects which needs to be opened always. Now what happens is, I often make changes in wrong project because there is no easy way to identify which project I'm on by simply looking at UI (other than looking at the project name on top- which will go away on full screen). So it would be great if I could use dracula theme on one project and default theme on other. Is there any way to achieve it.
There is a way to change the background color of project pane and recent files window.
Goto Preference -> Appearance & Behavior -> File Colors -> {Add project files and set color}
Got the solution from here
There is the ability to "to define any image as a background".
Set a background image for the current project only, or for any project you open or create anew.
To set a background image
1. Either press:
Shift twice (Searching Everywhere), or
Ctrl+Shift+A (Navigating to Action)
and start typing set back
2. In the dialog box that opens,
Specify:
the image you want to use as the background,
its opacity,
filling and placement options.
Choose to show background in:
the editor and tool windows, or
in the IntelliJ IDEA frame.
Selecting checkbox This project only:
Show background in the current project and ignore this background in the other projects.
https://www.jetbrains.com/help/idea/2016.2/setting-background-image.html

Visual Studio 2015 XAML Editor Text color

I am using the Dark theme of Visual studio and there is one particular color which in my opinion is too weak.
I have tried to change it but couldn't really succeed.
When you click on an object in the designer, the XAML editor will try to mark the code by changing the objects background:
Now if you pay attention, then the background of <ComboBox... > is changed, but the difference is not that much. And I want to change that.
In the next sample the same code is shown with another theme:
In the sample above it is much more clear. And I want to make the same for the Dark theme.
Does anybody know how to do that ?
I have tried Tools >> Options >> Environment >> Fonts and Colors:
There are so many possibilities, and I have clicked on all of them, but couldn't really find the particular color I wanted.
In Tools >> Options >> Environment >> Fonts and Colors you need to select TextEditor in the Show settings for: combo, and the option under Display items: responsible for that color is called Inactive Selected Text (it's the 3rd option from the top in my VS). You can then use the Item background: color picker to select preferred color. Note though that this will change the background color of inactive selected text in all text editors, not just in the XAML editor. Here's a screenshot:

Not showing Project Structure in IntelliJ IDEA

I am a new to IntelliJ IDEA and somehow my project structure doesn't appear where It should be. Someone know how to fix this please? I want it to appear left corner where red circle:
You have hidden the tool window buttons. To show them again press Alt+Alt (and keep holding) or click on the bottom left corner icon. Or use View | Tool Buttons to show them permanently. Then you can click on the Project or Structure tool window buttons depending on what you need.
Another way is to use the menu: View | Tool Windows | Project (or Structure).
Or just use the keyboard shortcuts:
Alt+1 — Project
Alt+7 — Structure
You can find more details in the online documentation:
Manipulating the Tool Windows

How to change color of active tab

As the title, I want to change color of active tab to make it to be more different from other. I went through https://devnet.jetbrains.com/thread/274446 but it's not enough!
Is there any way to do that?
I just found out in intellij, it's "file scope" that controls a file's background in project pane as well as in the tabs. Here is the steps to add/modify current scope/tab background.
The default Darcula theme sets the "Tests" scope to this dark green color which is very close to the tab control background. I always lost track of which tab is activated when it's one of the test files. Hope this helps.
The Active IntelliJ Tab Highlighter plugin provides a simple way of solving this problem.
Go to File -> Settings.
In Plugins type "Active IntelliJ Tab Highlighter into the search box.
Click on the "Search in repositories" link.
Select the Active IntelliJ Tab Highlighter and click on the green Install button.
Close the window and restart IntelliJ
The active tab should now be highlighted in purple. If required, a different color can be chosen via File -> Settings -> Tools -> Active Tab Highlighter Plugin -> Background (clicking on it brings up a color picker). I personally went with a less garish dark gray color (AAADAA).
An alternative way, Setting > File colors:
check Enable File Colors, Use in Editor Tab
uncheck Use in Project View
add new scope with your color (ex: Project Files with orange color)
For IntelliJ IDEA 2021.3.2 (Community Edition)
You can change it in settings:
Settings | Editor | Color Scheme | General | Editor | Tabs | Selected Tab
There you can change Background and customize the view in other ways.
Although the question is quite old, when I googled the problem, this link was in the first three results, so I'll add my 5 cents as well.
Even though I could not find the way to brighten the color of an active tab alone, I was able to solve the problem by changing the color for a given scope altogether. In my case, it was the Tests scope, set to the default green, where the active tab was barely distinguishable from inactive ones, so I went to Settings > Appearance & Behavior > File Colors (exact location may depend on your Idea's version), selected the Tests scope and selected Custom color; the exact RGB value that worked for me was 1A7250. As a side-effect, the test directory's background color in the Project view also changed, which may or may not be a bad thing.
Regards, hope this helps.
I was losing the track of active tab using the darcula theme, in a test directory with a newly created file and staged with git. I ended up changing the File status color.
You will have to make a copy of your theme first: