How to customise or turn off inlay hints

Hi,

I experience a very frustrating issue after upgrading to 0.9.0. There is now annotations with types from the library, which is fine. However, my cursor get moved all over the place when I add or remove characters. Is there a way to disable this feature? This is disrupting my editing workflow.

Disabling AI chat features did not help, and I could not find anything in the SysIDE configuration panel to turn this off either.

Thanks

Hi,

This is a new inlay hints feature showing implicit state from the semantic resolution which may be hard to figure out otherwise. You can either disable inlay hints globally in IDE, e.g. editor.inlayHints.enabled option in VS Code, or through syside.toml which has more fine grained options.

See lsp.inlay-hints settings sections for more details. To disable, just add

[lsp.inlay-hints]
toggle = "off"

to syside.toml/syside.user.toml at the root of your project, or in one of user-wide locations (Configure Modeler). While inlay hints can be noisy, disabling unconditionally may not be the best option for development. For example, you can disable only inlay hints for implicit specializations to standard library elements

[lsp.inlay-hints.implicit-specializations]
standard-library = false

Thank you Daumantas. That is exactly what I needed.