ruff/crates/ty_server/src
Andrew Gallant bcc8d6910b [ty] Refactor to handle unimported completions
This rejiggers some stuff in the main completions entrypoint
in `ty_ide`. A more refined `Completion` type is defined
with more information. In particular, to support auto-import,
we now include a module name and an "edit" for inserting an
import.

This also rolls the old "detailed completion" into the new
completion type. Previously, we were relying on the completion
type for `ty_python_semantic`. But `ty_ide` is really the code
that owns completions.

Note that this code doesn't build as-is. The next commit will
add the importer used here in `add_unimported_completions`.
2025-09-17 13:59:28 -04:00
..
document [ty] Added support for "document highlights" language server feature. (#19515) 2025-07-24 13:06:25 -07:00
server [ty] Refactor to handle unimported completions 2025-09-17 13:59:28 -04:00
session [ty] Correct default value for experimental rename setting 2025-09-03 09:57:26 -04:00
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 Allow the if_not_else Clippy lint 2025-09-09 08:49:25 -04:00
system.rs [ty] Disallow std::env and io methods in most ty crates (#20046) 2025-08-22 11:13:47 -07:00