Skip to content

feat: Switch to LSP inlay hints #11935

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 11, 2022
Merged

Conversation

lnicola
Copy link
Member

@lnicola lnicola commented Apr 8, 2022

No description provided.

@lnicola lnicola marked this pull request as ready for review April 8, 2022 11:30
@@ -127,8 +127,8 @@ export function joinLines(ctx: Ctx): Cmd {
ranges: editor.selections.map((it) => client.code2ProtocolConverter.asRange(it)),
textDocument: ctx.client.code2ProtocolConverter.asTextDocumentIdentifier(editor.document),
});
await editor.edit((builder) => {
client.protocol2CodeConverter.asTextEdits(items).forEach((edit: any) => {
await editor.edit(async (builder) => {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we get a cancellation token into the command handlers? There must be a way, but I missed it.

bors bot added a commit that referenced this pull request Apr 9, 2022
@lnicola
Copy link
Member Author

lnicola commented Apr 9, 2022

bors r+

bors why won't you talk to me?

bors bot added a commit that referenced this pull request Apr 9, 2022
11935: feat: Switch to LSP inlay hints r=lnicola a=lnicola



Co-authored-by: Laurențiu Nicola <[email protected]>
@lnicola
Copy link
Member Author

lnicola commented Apr 9, 2022

bors r-

@bors
Copy link
Contributor

bors bot commented Apr 9, 2022

Canceled.

@lnicola
Copy link
Member Author

lnicola commented Apr 9, 2022

I guess we should way at least until Monday to give people more time to upgrade (although they simply won't get the update instead of ending up with a broken install).

@lnicola
Copy link
Member Author

lnicola commented Apr 11, 2022

bors r+

@bors
Copy link
Contributor

bors bot commented Apr 11, 2022

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.

1 participant