&gt; Are you suggesting doing a find &#x2F; grep inside the context of a current scope? Or just color codes &#x2F; indents &#x2F; marks in some way the scope? That works to a degree if an editor can do that though that still doesn&#x27;t ultimately help the fact that it&#x27;s a single file that you may need to search around for something.<p>At least IntelliJ will highlight all uses of the currently selected variable&#x2F;method&#x2F;whatever, and will quickly allow you to jump to any of them.<p>If I&#x27;m searching for something by name then it&#x27;s almost always because it&#x27;s in use somewhere, and a ctrl+click will take me there instantly, without getting bogged down in false positives.<p>&gt; Plus not every environment will have your favorite editor setup how you like it.<p>Sure, but how often do you actually have to work with your regular codebase in such an environment? Sure, such a rule has its uses, but in 97% of cases it&#x27;s just a symptom of a poor editor setup.