mirror of
https://github.com/astral-sh/ruff.git
synced 2025-11-13 17:26:53 +00:00
[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.
This commit is contained in:
parent
c401a6d86e
commit
b22586fa0e
8 changed files with 181 additions and 20 deletions
|
|
@ -27,7 +27,7 @@ pub use document_symbols::{document_symbols, document_symbols_with_options};
|
|||
pub use goto::{goto_declaration, goto_definition, goto_type_definition};
|
||||
pub use goto_references::goto_references;
|
||||
pub use hover::hover;
|
||||
pub use inlay_hints::inlay_hints;
|
||||
pub use inlay_hints::{InlayHintSettings, inlay_hints};
|
||||
pub use markup::MarkupKind;
|
||||
pub use references::ReferencesMode;
|
||||
pub use rename::{can_rename, rename};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue