csense-oss / idea-kotlin-not-highlighter

MIT License
1 stars 1 forks source link

Overview

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.

Custom names to highlight

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 setup and highlighting

Development

Traps