A simple plugin that highlights (based on settings)
The rational is simple; how often is the "!" hard to spot in an if statement?, or in any other expression? Even if avoiding ! in most expressions the concept of negation is still "difficult" to grasp, thus the cognitive load of negation (and keeping track) is still there. Thus, to give more freedom/help in reading/writing code, these negations are highlighted.
Adding a file named
.namesToHighlight
and adding a word on each line, will be picked up by the plugin, and used in highlighting.
A full example