Search code examples
javascriptwebstorm

How to disable WebStorms unused function color feature?


I was wondering if anything knows how to disable the feature in WebStorm where if you create a function and don't call it yet, the color will just stay green and not gray.

I went inside the preferences area and changed my global function colors to green but they only turn green if I call them. For any uncalled functions will stay gray.

Example of gray function names


Solution

    • Go to File -> Settings...
    • Open Editor -> Colors & Fonts -> General
    • Save the current scheme as a custom one
    • expand Errors and Warnings on the right
    • change the color for Unused symbol