Search code examples
phpstorm

How to remove underline of method when using Nord theme in PhpStorm


I'm currently using PhpStorm with the Nord Theme and I cannot remove the underlines of http verbs (e.g. get and post) when using the Nord theme. I tried to unchecked all the items in Settings Inspection but still getting the same result. Please see my screenshot below.

Screenshot

enter image description here

Please let me know if you need any details that is not indicated yet on my post.


Solution

  • I tried to unchecked all the items in Settings Inspection but still getting the same result.

    This is unlikely to be an Inspection as it would normally have some noticeable colour to indicate an error or a warning.

    To check that: see if this line will be mentioned in the "Problems" toolwindow (that lists all inspection results found in a current file). Can also use the intentions/actions/quick fix menu (Alt+Enter on most keymaps or via light bulb using a mouse): you would see some entries there for that.


    Most likely it’s the Nord Color Scheme itself that highlights certain elements this way.

    Do this:

    • Place caret on such a place (i.e. on get in Route::get).

    • Then invoke Help | Find Action... (Ctrl+Shift+A here on Windows keymap).

    • Look for the Jump to Colors and Fonts action and invoke it.

      enter image description here
      (The shortcut here is my custom one; it has none by default)

    It normally will show a list of all currently applied styles so you can see which one is the most applicable and jump to the style to change it.

    As per your screenshot it turns out to be the "PHP | Identifiers | Magic Method Access" style:

    enter image description here