Skip to content

Reverse the order of the results of pipes::stream - #4167

Merged
catamorphism merged 1 commit into
rust-lang:incomingfrom
catamorphism:issue-3637
Dec 12, 2012
Merged

Reverse the order of the results of pipes::stream#4167
catamorphism merged 1 commit into
rust-lang:incomingfrom
catamorphism:issue-3637

Conversation

@catamorphism

Copy link
Copy Markdown
Contributor

As per #3637.

There's nothing worth looking at in the diffs themselves, but I thought I'd submit a pull request because I'm not sure whether there was consensus for the change. (everyone was for it, but not everyone commented).

r? @brson

@brson

brson commented Dec 12, 2012

Copy link
Copy Markdown
Contributor

r+

catamorphism added a commit that referenced this pull request Dec 12, 2012
Reverse the order of the results of pipes::stream
@catamorphism
catamorphism merged commit 4ec658e into rust-lang:incoming Dec 12, 2012
RalfJung added a commit to RalfJung/rust that referenced this pull request Feb 2, 2025
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
4167: Filter out code actions if unsupported by the client and advertise our capabilities r=matklad a=kjeremy

This PR does three things:
1. If the client does not support `CodeActionKind` this will filter the results and only send `Command[]` back.
2. Correctly advertises to the client that the server supports `CodeActionKind`. This may cause clients to not request code actions if they are checking for the provider to be `true` (or implement LSP < 3.8) in the caps but I will fix that in a followup PR.
3. Marks most CodeActions as <strike>"refactor" so that they show up in the menu in vscode.</strike>`""`.

Part of rust-lang#144
rust-lang#4147 
rust-lang#2833  

Co-authored-by: kjeremy <kjeremy@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants