ruff/crates/ty_server/tests/e2e
Andrew Gallant 0f373603eb [ty] Suppress keyword argument completions unless we're in the "arguments"
Otherwise, given a case like this:

```
(lambda foo: (<CURSOR> + 1))(2)
```

we'll offer _argument_ completions for `foo` at the cursor position.
While we do actually want to offer completions for `foo` in this
context, it is currently difficult to do so. But we definitely don't
want to offer completions for `foo` as an argument to a function here.
Which is what we were doing.

We also add an end-to-end test here to verify that the actual label we
offer in completion suggestions includes the `=` suffix.

Closes https://github.com/astral-sh/ruff/pull/21970
2025-12-16 08:00:04 -05:00
..
snapshots [ty] Suppress keyword argument completions unless we're in the "arguments" 2025-12-16 08:00:04 -05:00
code_actions.rs [ty] Fix reveal-type E2E test (#21865) 2025-12-09 14:08:22 +01:00
commands.rs [ty] Add panic-by-default await methods to `TestServer` (#21451) 2025-11-14 19:47:39 +01:00
completions.rs [ty] Suppress keyword argument completions unless we're in the "arguments" 2025-12-16 08:00:04 -05:00
initialize.rs [ty] Stabilize rename (#21940) 2025-12-12 13:52:47 +01:00
inlay_hints.rs [ty] Don't send publish diagnostics for clients supporting pull diagnostics (#21772) 2025-12-04 08:12:04 +01:00
main.rs [ty] Suppress keyword argument completions unless we're in the "arguments" 2025-12-16 08:00:04 -05:00
notebook.rs [ty] Stabilize auto-import 2025-12-09 09:40:38 -05:00
publish_diagnostics.rs [ty] Fix outdated version in publish diagnostics after `didChange` (#21943) 2025-12-12 11:30:56 +00:00
pull_diagnostics.rs [ty] Don't send publish diagnostics for clients supporting pull diagnostics (#21772) 2025-12-04 08:12:04 +01:00
rename.rs [ty] Stabilize rename (#21940) 2025-12-12 13:52:47 +01:00
signature_help.rs [ty] Suppress keyword argument completions unless we're in the "arguments" 2025-12-16 08:00:04 -05:00