ruff/crates/ty_server/src
Aria Desires 2e13b13012
[ty] Support goto-definition on vendored typeshed stubs (#21020)
This is an alternative to #21012 that more narrowly handles this logic
in the stub-mapping machinery rather than pervasively allowing us to
identify cached files as typeshed stubs. Much of the logic is the same
(pulling the logic out of ty_server so it can be reused).

I don't have a good sense for if one approach is "better" or "worse" in
terms of like, semantics and Weird Bugs that this can cause. This one is
just "less spooky in its broad consequences" and "less muddying of
separation of concerns" and puts the extra logic on a much colder path.
I won't be surprised if one day the previous implementation needs to be
revisited for its more sweeping effects but for now this is good.

Fixes https://github.com/astral-sh/ty/issues/1054
2025-10-21 13:38:40 -04:00
..
document [ty] Added support for "document highlights" language server feature. (#19515) 2025-07-24 13:06:25 -07:00
server [ty] Add capabilities check for clear_diagnostics (#20989) 2025-10-20 19:31:01 +02:00
session Update Rust crate anyhow to v1.0.100 (#20499) 2025-09-22 09:51:52 +02:00
capabilities.rs [ty] Add LSP debug information command (#20379) 2025-09-20 11:15:13 +00: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 Allow the if_not_else Clippy lint 2025-09-09 08:49:25 -04:00
system.rs [ty] Support goto-definition on vendored typeshed stubs (#21020) 2025-10-21 13:38:40 -04:00