-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blocks are not rendering correctly after enabling inlay hints #84
Comments
Yeah, that's the limitation of VS Code, not a bug of Blockman. VS Code API does not give extensions access to the pixel locations/dimensions of inlay hints, that's why I recommend to disable inlay hints in order to use Blockman. |
Alternatively, you can try to set right-padding for the blocks, so Blockman will render right edges more rightside, or maybe even to the edge of the viewport, so the inlay hint problem will be less noticeable. |
Thanks for your reply. That's unfortunate but hopefully VS Code enables the access in the future. |
When configuring the setting
![image](https://user-images.githubusercontent.com/62110797/175015569-373a77a0-0e7c-4e6c-a1a4-9d33fca5fd6d.png)
"editor.inlayHints.enabled": "on"
the blocks aren't rendered correctly.Here is an example with Java code:
So the block isn't the right size after the inlay hints are added to the lines.
The text was updated successfully, but these errors were encountered: