ruff/crates/ty_server
Dhruv Manilawala b22586fa0e
[ty] Add `ty.inlayHints.variableTypes` server option (#19780)
## Summary

This PR adds a new `ty.inlayHints.variableTypes` server setting to
configure ty to include / exclude inlay hints at variable position.

Currently, we only support inlay hints at this position so this option
basically translates to enabling / disabling inlay hints for now :)

The VS Code extension PR is
https://github.com/astral-sh/ty-vscode/pull/112.

closes: astral-sh/ty#472

## Test Plan

Add E2E tests.
2025-08-07 19:16:51 +05:30
..
src [ty] Add `ty.inlayHints.variableTypes` server option (#19780) 2025-08-07 19:16:51 +05:30
tests/e2e [ty] Add `ty.inlayHints.variableTypes` server option (#19780) 2025-08-07 19:16:51 +05:30
Cargo.toml [ty] Support LSP client settings (#19614) 2025-08-06 18:37:21 +05:30