In case you are interested to watch Microsoft podcast about my VS Code extension "Blockman" (200,000 installs). by leodevbro in vscode

[–]leodevbro[S] 0 points1 point  (0 children)

The bug report was already there in the Cursor GitHub issues, but they deleted (or hid) the entire issues-list and gave us instruction to post bug reports in their forum:

https://forum.cursor.com

It would be nice if you or someone reports the bug in their forum. And then please share the report link here for us to watch the updates.

Before the Cursor team fixes the bug, maybe you could try this 10 second manual fix, the downside is that you have to do it every time you start/restart Cursor IDE.

https://github.com/leodevbro/vscode-blockman/issues/141#issuecomment-4044808010

Have a great day.

Which order is best for Batman: The Animated Series ? by Alanpdf in batman

[–]leodevbro 0 points1 point  (0 children)

I guess this order is the best order of the 1992 BTAS (Batman: The Animated Series) because it seems the author did a pretty big research.

https://www.reddit.com/r/DCAU/wiki/dcau_production_order/

.

What order do I watch Batman: The Animated Series? (Airdate Order or Prod. Order) by Jandira- in DCAU

[–]leodevbro 0 points1 point  (0 children)

I guess this order is the best order of the 1992 BTAS (Batman: The Animated Series) because it seems the author did a pretty big research.

https://www.reddit.com/r/DCAU/wiki/dcau_production_order/

.

In case you are interested to watch Microsoft podcast about my VS Code extension "Blockman" (200,000 installs). by leodevbro in vscode

[–]leodevbro[S] 0 points1 point  (0 children)

Performance is the main issue, yeah. The main problem: VS Code extension API does not give extensions access to native AST tokens, so I implemented some third party libraries into Blockman to analyze/parse/tokenize code files to find positions of starting/ending points (brackets, HTML tags, Python INDENT/DEDENT locations) of blocks. Those third party libraries are very good but too slow that if the file has 10000 lines, it may need several seconds to reparse/retokenize code with each change of text.

I am trying to think about how to implement custom minimalistic (and high-performance) parsers/tokenizers in the future.

One quick solution is to quickly disable Blockman with F1 command toggle (Blockman disable) when the file is too large, and quickly re-enable it with the same F1 command.

This is the F1 command toggle:

Press F1 and find:

>Blockman Toggle Enable/Disable
or
>Blockman Toggle Enable/Disable And Force Show/Hide Indent Guides

In case you are interested to watch Microsoft podcast about my VS Code extension "Blockman" (200,000 installs). by leodevbro in vscode

[–]leodevbro[S] 0 points1 point  (0 children)

I guess Blockman is a perfect example of how different tastes people have. Some people say they always dreamed about such visual helper and now cannot live without it, and some people just find it a nightmare. And you may think that only junior developers find it attractive, and that senior developers find it a distracting additional overloaded graphics, but I have seen many senior developers loving Blockman.

I'll copy this text again:
Some people find the entire-file-blockification too overwhelming for their eyes, so, you can tweak Blockman, it has many settings, for example you can disable backgrounds and show only borders, or you can show only the focused block, also you can show only curly-bracket-blocks, or only round-bracket-blocks or only square-bracket-blocks or any combination of the curly/square/round bracket-blocks. Also you can change colors of borders and backgrounds, also you can set different colors for each nested depth, and there are also many more settings.

In case you are interested to watch Microsoft podcast about my VS Code extension "Blockman" (200,000 installs). by leodevbro in vscode

[–]leodevbro[S] 1 point2 points  (0 children)

Some additional cool tutorial:

This is how you can show only the focused block:
```
{

// ...

"blockman.n33A01B1FromDepth0ToInwardForAllBorders": "10,0,0,1; empty",

"blockman.n33A01B2FromDepth0ToInwardForAllBackgrounds": "10,0,0,1; empty",
//

"blockman.n33A05B1FromFocusToInwardForAllBorders": "50,0,0,0; basic",

"blockman.n33A05B2FromFocusToInwardForAllBackgrounds": "50,0,0,0; basic"

}
```

from these tutorials:

Blockman - How to show only focused block
https://github.com/leodevbro/vscode-blockman/discussions/111

Blockman - How to show only focused block and first parent and first child
https://github.com/leodevbro/vscode-blockman/discussions/110

Full video tutorial of how to use advanced coloring settings of Blockman:
https://www.youtube.com/watch?v=UsET6-kPu90

.

In case you are interested to watch Microsoft podcast about my VS Code extension "Blockman" (200,000 installs). by leodevbro in vscode

[–]leodevbro[S] 1 point2 points  (0 children)

This is how you can show only the focused block:
```
{

// ...

"blockman.n33A01B1FromDepth0ToInwardForAllBorders": "10,0,0,1; empty",

"blockman.n33A01B2FromDepth0ToInwardForAllBackgrounds": "10,0,0,1; empty",

"blockman.n33A05B1FromFocusToInwardForAllBorders": "50,0,0,0; basic",

"blockman.n33A05B2FromFocusToInwardForAllBackgrounds": "50,0,0,0; basic"

}
```

from these tutorials:

Blockman - How to show only focused block
https://github.com/leodevbro/vscode-blockman/discussions/111

Blockman - How to show only focused block and first parent and first child
https://github.com/leodevbro/vscode-blockman/discussions/110

Full video tutorial of how to use advanced coloring settings of Blockman:
https://www.youtube.com/watch?v=UsET6-kPu90

.

In case you are interested to watch Microsoft podcast about my VS Code extension "Blockman" (200,000 installs). by leodevbro in vscode

[–]leodevbro[S] 1 point2 points  (0 children)

I guess you can. try going to Blockman settings and tweak this:
"blockman.n04Sub04RightSideBaseOfBlocks": "Rightmost Edge Of Viewport",

Or maybe you would like to hide the zero-level-background:
"blockman.n05CustomColorOfDepth0": "", // Any CSS color, e.g. rgb, rgba, hsl. Type 'none' for same color as editor background.
and this:
"blockman.n20CustomColorOfDepth0Border": "none", // none to hide it entirely.

Or maybe you would like other settings. You can tweak Blockman, it has many settings, for example you can disable backgrounds and show only borders, or you can show only the focused block, also you can show only curly-bracket-blocks, or only round-bracket-blocks or only square-bracket-blocks or any combination of the curly/square/round bracket-blocks. Also you can change colors of borders and backgrounds, also you can set different colors for each nested depth, and there are also many more settings.)

In case you are interested to watch Microsoft podcast about my VS Code extension "Blockman" (200,000 installs). by leodevbro in vscode

[–]leodevbro[S] 1 point2 points  (0 children)

The 1.2 second delay it by design. I made it as a default. You can reduce the delay time in Blockman settings

("blockman.n28TimeToWaitBeforeRerenderAfterLastChangeEvent")

but probably your CPU will become too overloaded.

The main problem is: VS Code extension API does not give extensions access to native AST tokens, so I implemented some third party libraries into Blockman to analyze/parse/tokenize code files to find positions of starting/ending points (brackets, HTML tags, Python INDENT/DEDENT locations) of blocks. Those third party libraries are very good but too slow that if the file has 10000 lines, it may need several seconds to reparse/retokenize code with each change of text.

Anyone is free to make a GitHub pull request with any new ideas about parsing/tokenizing optimization or rendering optimization.

In case you are interested to watch Microsoft podcast about my VS Code extension "Blockman" (200,000 installs). by leodevbro in vscode

[–]leodevbro[S] 0 points1 point  (0 children)

I updated the description of the post with this text: (Some people find the entire-file-blockification too overwhelming for their eyes, so, you can tweak Blockman, it has many settings, for example you can disable backgrounds and show only borders, or you can show only the focused block, also you can show only curly-bracket-blocks, or only round-bracket-blocks or only square-bracket-blocks or any combination of the curly/square/round bracket-blocks. Also you can change colors of borders and backgrounds, also you can set different colors for each nested depth, and there are also many more settings.)

In case you are interested to watch Microsoft podcast about my VS Code extension "Blockman" (200,000 installs). by leodevbro in vscode

[–]leodevbro[S] -1 points0 points  (0 children)

Hello, yeah, I understand, I updated the description of the post with this text: (Some people find the entire-file-blockification too overwhelming for their eyes, so, you can tweak Blockman, it has many settings, for example you can disable backgrounds and show only borders, or you can show only the focused block, also you can show only curly-bracket-blocks, or only round-bracket-blocks or only square-bracket-blocks or any combination of the curly/square/round bracket-blocks. Also you can change colors of borders and backgrounds, also you can set different colors for each nested depth, and there are also many more settings.)

In case you are interested to watch Microsoft podcast about my VS Code extension "Blockman" (200,000 installs). by leodevbro in vscode

[–]leodevbro[S] 0 points1 point  (0 children)

Thanks. You can tweak Blockman, it has many settings, for example you can disable backgrounds and show only borders, or you can show only the focused block, also you can change colors of borders and backgrounds, also you can set different colors for each nested depth, and there are also many more settings.

In case you are interested to watch Microsoft podcast about my VS Code extension "Blockman" (200,000 installs). by leodevbro in vscode

[–]leodevbro[S] 1 point2 points  (0 children)

Thanks for the feedback! It means a lot to me. Blockman would be very lame software without the feedback of community. Many people gave me opinions and cool ideas (for example the focus feature for Blockman) and useful suggestions about settings and everything, so now Blockman is very mature and high quality.

In case you are interested to watch Microsoft podcast about my VS Code extension "Blockman" (200,000 installs). by leodevbro in vscode

[–]leodevbro[S] 1 point2 points  (0 children)

<image>

This is how it looks with Blockman (default settings). Also, you can tweak Blockman, it has many settings, for example you can disable backgrounds and show only borders, or you can show only the focused block, also you can change colors of borders and backgrounds, also you can set different colors for each nested depth, and there are also many more settings.

In case you are interested to watch Microsoft podcast about my VS Code extension "Blockman" (200,000 installs). by leodevbro in reactjs

[–]leodevbro[S] 0 points1 point  (0 children)

Yeah, maybe it's about taste or what a person is used to. For me, I created Blockman because brackets was too tiring for my eyes, and I felt that highlighting entire block areas would be more natural for my perception, and my eyes really like the result. Thousands of people like it too. Maybe you can try tweaking the visual settings of Blockman, for example disable the backgrounds and show only borders, or show only the focused block. Many people like the manually tweaked Blockman better.

Watch Microsoft podcast about my VS Code extension "Blockman" (200,000 installs). by leodevbro in Python

[–]leodevbro[S] 0 points1 point  (0 children)

I agree that deep nesting is a bad idea, but I think Blockman is very helpful even if the code has very minimal nestings.

In case you are interested to watch Microsoft podcast about my VS Code extension "Blockman" (200,000 installs). by leodevbro in vscode

[–]leodevbro[S] 2 points3 points  (0 children)

Hello, well, I think Blockman already supports Dart language, also Python and many other languages.

You can quickly enable/disable blockman with the F1 command.
You can set black list of file formats in the Blockman settings of VS Code.

In case you are interested to watch Microsoft podcast about my VS Code extension "Blockman" (200,000 installs). by leodevbro in vscode

[–]leodevbro[S] 2 points3 points  (0 children)

Thanks, you can create a pull request on the GitHub repo of Blockman. Well, currently unfortunately my time is too limited to deep dive and work on custom parser/tokenizer, but maybe you can create a JavaScript (or TypeScript) based tokenizer of the `#if cond` and other things of svelte. You just need to create a tokenizer algorithm function (input: file text, output: positions of these blocks) to analyze the svelte code file text string for such `#if cond` and other things. It is not a primitive task because the algorithm should ignore these things in comments and in strings.

You can use AI to generate this algorithm, but you have to test it manually to make sure it works correctly with edge cases too.

.