PyCharm
 
Get PyCharm
You are viewing the documentation for an earlier version of PyCharm.

Highlight usages

Last modified: 11 February 2024

The search command Highlight Usages in File CtrlShiftF7 makes it possible to visualize usages of a symbol in the current file.

All found usages of a symbol in the current file are highlighted and color-coded, as defined in the Color Scheme settings page, to represent read or write access to the symbol. In addition to the highlights of occurrences in a text, the stripes of the same colors appear in the marker bar, accompanied by tooltips.

Highlight Usages in File

The behavior of usage highlighting is configurable: you can make PyCharm show usages of a symbol at caret automatically, or invoke it with a command.