vscode-blockman icon indicating copy to clipboard operation
vscode-blockman copied to clipboard

Undesirable gaps when codelens is turned on

Open henry-js opened this issue 4 years ago • 1 comments

When using reference codelens, blocks are not rendered on the reference lines, this results in gaps that are quite jarring: image

henry-js avatar Jul 24 '21 20:07 henry-js

Yeah, this is not exactly a bug of Blockman, but more of a product of the limitations of VSCode extension API. the blocks are rendered line by line divs, not as entire block divs, this is because VSCode API has some strange limitations, for example, if any div is higher than line height, then if we scroll to make it half hidden, the other half also disapears, thus behaving with uncomfortable manner. Maybe I will post a feature request in vscode repo about this limitation.

leodevbro avatar Jul 24 '21 20:07 leodevbro