Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

argument by name color scheme pycharm

I am on PyCharm 2017.1.4 with Darcula theme. I don't see how to change the color of the named argument, which is currently undistinguishable for me. I have been into Editors > Colors & Fonts but it seems that everything is tunable apart from that.

example of bad argument name coloring

like image 325
ClementWalter Avatar asked Jul 06 '17 09:07

ClementWalter


People also ask

How do I import a color scheme in PyCharm?

PyCharm can save your color scheme settings as an XML file with the . icls extension. You can then import the file to another installation. Press Ctrl+Alt+S to open the IDE settings and select Editor | Color Scheme.

How do I change the color of a variable in PyCharm?

Open the Preferences window. In the left sidebar, click on the node labeled Editor. Under Editor, click on the node labeled Colors & Fonts, then the sub-node, Language Defaults. If you're using a default color scheme, click the button labeled Save As, as PyCharm won't let you overwrite built-in color schemes.

What is semantic highlighting PyCharm?

PyCharm uses semantic highlighting to assign a different color to each parameter and local variable: the “namespaces” parameter is now a certain shade of green. You can then let color help you scan through the function to track the variable, with no distracting action to isolate one of them or switch focus to another.

Does PyCharm have syntax highlighting?

Syntax highlightingThe PyCharm editor respects highlighting of the keywords, comments, parameters, type hints and so on.


1 Answers

What type of file is this? In PyCharm you can configure different color settings for different types of files. Since this is tagged with PyCharm and Python, I'm going to assume it's a Python file. If it's a different kind of file, select the correct type of file instead of Python.

Settings | Editor | Color Scheme | Python | Keyword argument

Side note, I looked at Darcula, and what you show does not look like Darcula for Python. If you really are using Python, I would consider Restore Defaults... for your color scheme, or looking into it more because something seems off to me. This is what Darcula looks like to me.

enter image description here

like image 199
nanotek Avatar answered Oct 21 '22 16:10

nanotek