I personally indent with “⬜” and use a custom plugin that removes it before compilation. Different colors for different indentation levels.

function someFunc(){ ⬜for (let i = 1; i <= 3; i++) { ⬜🟦console.log(`Outer loop iteration ${i}`); ⬜🟦for (let j = 1; j <= 2; j++) { ⬜🟦🟥console.log(` Inner loop iteration ${j}`); ⬜🟦🟥if(j == 3){ ⬜🟦🟥🟨continue ⬜🟦🟥} ⬜🟦} ⬜} }

Follow

@glow Surely there's a plugin that counts tabs and shows some color accordingly.

· · Web · 2 · 0 · 0
Sign in to participate in the conversation
Game Liberty Mastodon

Mainly gaming/nerd instance for people who value free speech. Everyone is welcome.