VSCode inlay Hints & wordWrapColumn

For me word wrap and inlay hints settings in VS Code's settings.json do not work correctly together
"diff Editor.wordWrap": "on",
"editor.wordWrap": "bounded",
"editor.wordWrapColumn": 70,
"rust-analyzer.inlayHints.enable": true,

VS Code does not take inlay hints width into account and thus word wrap does not work properly.

Are there some workarounds? Or how to live with it?

1 Like

No workarounds to my knowledge. Inlay hints are a hack that aren't really supported by VS Code at the moment.

1 Like

oh it does not work properly for almost 5 years

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.