One of not so well-known features of IntelliJ IDEA is an ability to differently highlight certain scopes in code editor.To use it, open the Settings dialog, under IDE Settings expand Editor, then expand Colors & Fonts, and select Scope Based preferences. You will see a list of predefined scopes,…