CuddleIndentation highlighting that hugs around your code blocks. Rainbow brackets and rainbow indents don't really work for me. The colourful brackets get lost in a sea of colours, and rainbow indentation levels don't tell you anything about the structure of your code beyond what you could already see. That's why I decided to try my own ideas out. My theory was simple; the lines of code around an indented block are super important for context. So here's my experiment; it's called Cuddle (because the highlighting hugs around the block, rather than existing off to one side). I find this to be much more readable than any other highlighting strategy (n = 1). Cuddle works with the shape of your code rather than keywords. That makes it more portable across languages, and can help capture the blocks you try and visually create for organisation. Each block gets a new colour, so even at the same indentation level, you can tell groups of objects apart more easily. This is my first VSCode extension. I'm probably going to be quite casual about updating it; this is merely something I made because I wanted it to exist, and I don't want to spend too much time on upkeep. |