user1315789
user1315789

Reputation: 3659

How to disable file colouring in git-enabled folder in pycharm?

I use dark mode in pycharm. When folders are enabled with git, the coloring of the files at the left-hand-side project folder looks dark in dark mode. How can I disable file colouring in git-enabled folder in pycharm? It is straining the eyes.

I am using Pycharm community 2020.1

Upvotes: 0

Views: 729

Answers (3)

Maverick
Maverick

Reputation: 1599

From PyCharm:

File Status Highlights

In PyCharm, each file is marked with a color according to its state in the version control you are using.

In the editor, each line in a file is checked for its version control state and is marked with a color in the gutter.

File status

If you want to change the default file status colors, go to Settings/Preferences | Version Control | File Status Colors.

Line status in the editor

If you want to change the default line status colors, go to Settings/Preferences | Editor | General | Highlight modified lines in gutter.

In PyCharm 2020.1.2 (Community Edition) the way is:

File -> Settings -> Version Control -> File Status Colors

enter image description here

Old answer: You can change the file color from the settings. Goto File -> Settings -> Editor -> Colors&Fonts -> File Status -> (Unkown -> foreground)

Upvotes: 4

user1315789
user1315789

Reputation: 3659

I will answer my own quesstion.

Go to Settings > Version Control > File Status Colors and change the colors accordingly.

Upvotes: 1

Tanjim Ahmed Khan
Tanjim Ahmed Khan

Reputation: 696

You cannot disable dark mode for a portion of the PyCharm UI separately. The problem you are facing might be due to wrong installation or something like that. Reinstallation or update of PyCharm might help.

Upvotes: 1

Related Questions