in Education by
How to set background color of PsiFileNode or its child? I know how to change PsiFileNode fileName foreground public class MarkedFile extends PsiFileNode { private Color backgroundColor; public MarkedFile(Project project, @NotNull PsiFile value, ViewSettings viewSettings, Color backgroundColor) { super(project, value, viewSettings); this.backgroundColor = backgroundColor; } public Color getBackgroundColor() { return backgroundColor; } public void setBackgroundColor(Color backgroundColor) { this.backgroundColor = backgroundColor; } @NotNull @Override protected PresentationData createPresentation() { PresentationData presentationData = super.createPresentation(); presentationData.setForcedTextForeground(backgroundColor); return presentationData; } } But how to set background color of file as we can see it in "target" or "out" java directories JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
The background color of nodes in the tree view is controlled by file colors (Settings | Appearance and Behavior | File Colors). There is no way to override the background color for an individual node.

Related questions

0 votes
    I am having the following problem: I have an Enum that was originally declared with 5 elements. public enum ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 26, 2022 in Education by JackTerrance
0 votes
    I have a Crystal Report that was designed in CR Developer for Visual Studio (I'm using VS 2017, ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 29, 2022 in Education by JackTerrance
0 votes
    What is not true in context of HTML tag ? O Table cell changes its width automatically based on content O We can ... table border is o Select the correct answer from above options...
asked Nov 30, 2021 in Education by JackTerrance
0 votes
    (This is a random image of showing a Dialog found on the Internet.) I've been implementing a ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 19, 2022 in Education by JackTerrance
0 votes
    When assigning a background color of a table cell on hover, the box shadow is covered. I have found ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 24, 2022 in Education by JackTerrance
0 votes
    When assigning a background color of a table cell on hover, the box shadow is covered. I have found ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 21, 2022 in Education by JackTerrance
0 votes
    I'm working on this project and I required to allow the user to select a color from the color ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 17, 2022 in Education by JackTerrance
0 votes
    I am trying to display a DatePicker dialog on top of another activity and what is happening is it is ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 22, 2022 in Education by JackTerrance
0 votes
    I styled a button: .subscribe_button { background-color: red; } .subscribe_button:hover { background-color: ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 26, 2022 in Education by JackTerrance
0 votes
    Is it possible to change the background color of a radio button input in Firefox/Chrome like in IE? (Without using images) Run this in both IE(...
asked Feb 27, 2022 in Education by JackTerrance
0 votes
    The ___________ class adds a rounded border around an element with a gray background color and some padding. ... .alert .jumbotron Select the correct answer from above options...
asked Dec 10, 2021 in Education by JackTerrance
0 votes
    Which of the following is the correct HTML syntax for adding background color? 1.

... /p> 4.

...
asked Jul 12, 2021 in Technology by JackTerrance
0 votes
    is it possible to change the background color of job designer in Talend?...
asked Mar 16, 2021 in Technology by JackTerrance
0 votes
    I have written an application which does lots of calculation on huge floating point numbers that makes the ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    In my android app I have a simple chip that looks like this. Is there any way to set the color ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 20, 2022 in Education by JackTerrance
...