ruff/crates/ty_server/src
Matthew Mckee 8d6dc7d3a3
[ty] Refactor inlay hints structure to use separate parts (#20052)
## Summary

Our internal inlay hints structure (`ty_ide::InlayHint`) now more
closely resembles `lsp_types::InlayHint`.

This mainly allows us to convert to `lsp_types::InlayHint` with less
hassle, but it also allows us to manage the different parts of the inlay
hint better, which in the future will allow us to implement features
like goto on the type part of the type inlay hint.

It also really isn't important to store a specific `Type` instance in
the `InlayHintContent`. So we remove this and use `InlayHintLabel`
instead which just shows the representation of the type (along with
other information).

We see a similar structure used in rust-analyzer too.
2025-08-26 10:21:31 +05:30
..
document [ty] Added support for "document highlights" language server feature. (#19515) 2025-07-24 13:06:25 -07:00
server [ty] Refactor inlay hints structure to use separate parts (#20052) 2025-08-26 10:21:31 +05:30
session [ty] Rename functionArgumentNames to callArgumentNames inlay hint setting (#19911) 2025-08-14 14:21:38 +05:30
capabilities.rs [ty] Ask the LSP client to watch all project search paths 2025-08-19 10:57:07 -04:00
document.rs [ty] Fix stale documents on Windows (#18544) 2025-06-09 16:39:11 +02:00
lib.rs [ty] Support LSP client settings (#19614) 2025-08-06 18:37:21 +05:30
logging.rs [ty] Speedup tracing checks (#19965) 2025-08-18 12:56:06 +02:00
server.rs [ty] Log server version at info level (#19961) 2025-08-18 07:16:53 +00:00
session.rs [ty] Cancel background tasks when shutdown is requested (#20039) 2025-08-22 10:20:13 +02:00
system.rs [ty] Disallow std::env and io methods in most ty crates (#20046) 2025-08-22 11:13:47 -07:00