ZIm/crates/languages/src/python
Remco Smits 218496744c
debugger: Add support for inline value hints (#28656)
This PR uses Tree Sitter to show inline values while a user is in a
debug session.

We went with Tree Sitter over the LSP Inline Values request because the
LSP request isn't widely supported. Tree Sitter is easy for
languages/extensions to add support to. Tree Sitter can compute the
inline values locally, so there's no need to add extra RPC messages for
Collab. Tree Sitter also gives Zed more control over how we want to show
variables.

There's still more work to be done after this PR, namely differentiating
between global/local scoped variables, but it's a great starting point
to start iteratively improving it.

Release Notes:

- N/A

---------

Co-authored-by: Piotr Osiewicz <peterosiewicz@gmail.com>
Co-authored-by: Anthony Eid <hello@anthonyeid.me>
Co-authored-by: Cole Miller <m@cole-miller.net>
Co-authored-by: Anthony <anthony@zed.dev>
Co-authored-by: Kirill <kirill@zed.dev>
2025-04-23 22:27:27 +00:00
..
brackets.scm vim: Update anyquotes and anybrackets to behave like mini.ai plugin (#24167) 2025-02-17 14:55:48 -07:00
config.toml python: Auto-close f-strings (#28709) 2025-04-14 21:22:27 +00:00
debug_variables.scm debugger: Add support for inline value hints (#28656) 2025-04-23 22:27:27 +00:00
embedding.scm chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
highlights.scm python: Fix incorrect highlighting of function parameters (#26815) 2025-03-31 01:23:03 +02:00
indents.scm python: Fix incorrect indenting of except, finally, else, and elif control flow (#27428) 2025-03-25 14:58:41 +00:00
outline.scm assistant: Add annotations to more languages (#15866) 2024-08-07 13:47:21 +02:00
overrides.scm Add inclusive range scope overrides. Don't auto-close quotes at the ends of line comments (#20206) 2024-11-04 15:36:39 -08:00
runnables.scm Detect decorated pytest methods as runnable (#28652) 2025-04-13 19:57:05 +02:00
textobjects.scm Add textobjects queries (#20924) 2024-12-03 10:37:01 -07:00