[ty] Stabilize completions by BurntSushi · Pull Request #18650 · astral-sh/ruff (original) (raw)
Specifically, this PR reverts "Make completions an opt-in LSP feature (#17921)", corresponding to commit 51e2eff.
In practice, this means you don't need to opt into completions working by enabling experimental features. i.e., I was able to remove this from my LSP configuration:
"experimental": {
"completions": {
"enable": true
}
},There's still a lot of work left to do to make completions awesome, but I think it's in a state where it would be useful to get real user feedback. It's also meaningfully using ty to provide completions that use type information.
Ref astral-sh/ty#86
BurntSushi added a commit to astral-sh/ty that referenced this pull request
This was only used to opt into completions. But we're removing the opt-in in astral-sh/ruff#18650, so let's remove it from the docs too.
Ref #86
BurntSushi added a commit to astral-sh/ty that referenced this pull request
This was only used to opt into completions. But we're removing the opt-in in astral-sh/ruff#18650, so let's remove it from the docs too.
Ref #86
dcreager added a commit that referenced this pull request
- main: (38 commits)
[
pyupgrade] SuppressUP008diagnostic ifsupersymbol is not builtin (#18688) [pylint] FixPLW0128to check assignment targets in square brackets and after asterisks (#18665) [refurb] Make the fix forFURB163unsafe forlog2,log10,*args, and deleted comments (#18645) [ty] allowT: Neveras subtype ofNever(#18687) [ty] Use more parallelism when running corpus tests (#18711) [ty] Supportdataclasses.KW_ONLY(#18677) [ruff] Check for non-context-manager use ofpytest.raises,pytest.warns, andpytest.deprecated_call(RUF061) (#17368) Add syntax error when conversion flag does not immediately follow exclamation mark (#18706) [flake8-pyi] Fixcustom-typevar-for-selfwith string annotations (PYI019) (#18311) Drop confusing second*from glob pattern example (#18709) [ty] Stabilize completions (#18650) [ty] Correctly label typeshed-sync PRs (#18702) Update Rust crate memchr to v2.7.5 (#18696) Update dependency react-resizable-panels to v3.0.3 (#18691) Update Rust crate clap to v4.5.40 (#18692) Update Rust crate libcst to v1.8.2 (#18695) Update Rust crate jiff to v0.2.15 (#18693) Update Rust crate libc to v0.2.173 (#18694) Update Rust crate syn to v2.0.103 (#18698) Update Rust crate toml to v0.8.23 (#18699) ...
dhruvmanila added a commit to astral-sh/ty-vscode that referenced this pull request
Summary
Following up on astral-sh/ruff#18650, this PR
removes the experimental.completions.enable config from the extension.
epitech314 added a commit to epitech314/ty that referenced this pull request
This was only used to opt into completions. But we're removing the opt-in in astral-sh/ruff#18650, so let's remove it from the docs too.
Ref #86
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})