glow on Nostr: I personally indent with “⬜” and use a custom plugin that removes it before ...
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
⬜🟦🟥}
⬜🟦}
⬜}
}
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
⬜🟦🟥}
⬜🟦}
⬜}
}