vscode-blockman
vscode-blockman copied to clipboard
The code will out of the block if I enable and open inlayHints
Unfortunately it seems a limitation of VS Code itself and probably I cannot do anything about it. I'll try to find a specific method in VS Code extension API to be able to scan all inlay hints, to calculate corresponding additional width for the blocks.
You could just make the width the full width of the column setting, or suggest an API to access that because inlay hints are very important
Well, I posted the feature request in the VS Code Github repo.
https://github.com/microsoft/vscode/issues/118994
"Please provide a function in API to get horizontal pixel coordinate of any character in any line."
Unfortunately the VS Code team does not seem to have plans of implementing this feature for extensions.