feat: Switch to LSP inlay hints by lnicola · Pull Request #11935 · rust-lang/rus...
source link: https://github.com/rust-lang/rust-analyzer/pull/11935
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
@@ -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) => {
Can we get a cancellation token into the command handlers? There must be a way, but I missed it.
Recommend
-
1
Copy link Contributor ehuss ...
-
3
Copy link Contributor ...
-
2
Contributor ...
-
2
Deno runtime backs inlay hints for coding The latest Deno runtime automatically pulls in TypeScript types via NPM, and it updates to the V8 10.8 JavaScri...
-
3
Implement location link for type inlay hints #13699
-
3
How Technology is Affecting the RFID Inlay Market: Implications for Businesses 2023
-
2
Conversation Contributor This PR Added gtk3 gl_area...
-
4
Conversation Contributor...
-
3
Conversation Member...
-
1
Description This PR adds a specialization SpecFromElem for () which allows to significantly reduce vec![(), N] time in debug builds (specifically, tests) turning it from ob...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK