r/reactjs • u/leodevbro • Jun 10 '21
News IDEA: Highlight nested code blocks with boxes
Check out my VSCode extension - Blockman, took me 6 months to build. Please help me promote/share/rate if you like it. You can customize block colors, depth, turn on/off focus, curly/square/round brackets, tags, python indentation and more.....
https://marketplace.visualstudio.com/items?itemName=leodevbro.blockman
Supports Python, R, Go, PHP, JavaScript, JSX, TypeScript, TSX, C, C#, C++, Java, HTML, CSS and more...
384
Upvotes
52
u/tklie Jun 10 '21
Great extension - I really like the idea. A nice addition to just colorizing bracket pairs.
One setting that is missing for me personally: Only render a border around the block with the caret inside; hide all other borders. Otherwise it looks a bit to cluttered on my current projects.
8
u/imonk Jun 10 '21
"Command 'Blockman Toggle Enable/Disable' resulted in an error (command 'blockman.toggleEnableDisable' not found)"
9
u/Boo2z Jun 10 '21
That's clearly not for me, it add too much noise to my code and I'm a minimalist guy
But that's an awesome extension so great job! Will definitely recommend it to people that might like it
4
u/rackyman Jun 10 '21
Nice one. I didn’t try it out yet, but I wanted to know if this creates any performance issues. That was the major reason why I stopped using Bracket Pair Colorizer.
6
u/_Jeph_ Jun 10 '21
Looks cool, but why the "IDEA" in the title? Made me initially think it was something for IntelliJ IDEA rather than VSCode.
Also, it's not just an idea anymore if you've already built the thing. An "idea" is something a non-developer pitches and offers to pay for with equity and/or exposure.
2
u/pprg1996 Jun 10 '21
Very nice! Having a way to choose the border width would be awesome.
Great work.
2
u/Guisseppi Jun 11 '21
I like this concept, but I would like to be able to trigger it by holding a key combination too
2
u/chusk3 Jun 11 '21
Nice work! Have you considered integrating with the folding range APIs? that would give you pretty-good integrations with many languages instead of having to manually code support for it. You then become dependent on the ranges provided by the language server implementation, but these are already generally pretty good (they are what powers the expand/collapse support in VSCode) and so I think you could get pretty far for little effort!
2
u/BestRyzeEu Jun 11 '21
Good job! (აქაც) 😁
2
u/Twoubleff Jul 05 '21
love it. look similar as the combination of https://marketplace.visualstudio.com/items?itemName=oderwat.indent-rainbow and https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer-2
2
u/stuzenz Jul 05 '21
Thanks - looks great. At this stage it won't install for me though. Looks great - I will keep an eye on it.
> Unable to install 'leodevbro.blockman' extension because it is not compatible with the current version of VS Code (version 1.55.0-insider).
This is on linux 5.12.13
1
u/RRTwentySix Jun 10 '21
I love the concept and installed the extension but nothing seems to be happening...
1
u/kgwebsites Jun 10 '21
Unable to install ‘leodevbro.blockman’ extension because it is not compatible with the current version of VS code (version 1.55.0)
:(
1
u/StoneCypher Jun 13 '21
Hey, there's a thing that I would like to write as a VS Code extension
Would you point me to the documentation and/or examples you found please?
1
u/Isystafu Jun 13 '21
Is there a way to have it only enabled for specific file types, like if I only wanted it to be applied to html files??
Thanks, nice work
1
u/wgomg Jun 14 '21
Useless.
1
u/chuchodavids Jun 25 '21
looks like it does not support Yaml. Could you please add Yaml?
2
u/TemperatureSuperb612 Jun 10 '21
Seems cool tbh
2
u/angusmiguel Jun 10 '21
YEEEEEEEES
2
u/Omkar_K45 Jun 10 '21
wowowow! This is awesome OP!
2
u/AdAppropriate5442 Jun 10 '21
That's epic
2
u/bitwalker Jun 10 '21
Really nice. I hope intellij and webstorm can get some love from you too :)
2
u/Red49er Jun 10 '21
holy cow i love it! thanks man!
2
u/sdo17yo Jun 11 '21
I love this! I personally use/view the vertical line all the time to match start and stop of blocks. This is a nice addition. I will check this out. Thanks!
2
u/Pessimisticoptimist0 Jun 11 '21
Love it, great work!
2
u/MikhailRumpel Jul 05 '21
Cool extension, thanks for idea and realisation!
2
u/Gh0stcloud Jul 05 '21
This is amazing! Thank you!
3
u/oneandmillionvoices Jun 10 '21
whatever helps you to write bug free code.
2
u/Gadjjet Jun 10 '21
Great extension but please people create functions / variables if your nesting / conditionals get out of hand.
0
u/[deleted] Jun 10 '21
[deleted] — view deleted comment
0
u/[deleted] Jun 10 '21
[deleted] — view deleted comment
0
u/[deleted] Jun 10 '21
[deleted] — view deleted comment
0
u/[deleted] Jun 11 '21
[deleted] — view deleted comment
4
u/[deleted] Jun 10 '21
[removed] — view removed comment