mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 20:43:21 +00:00
85532e2df3
5480: Fix snippetTextEdits applying to other files r=matklad a=TimoFreiberg Fixes #4551 `vscode.window.visibleTextEditors` only contains editors whose contents are being displayed at the moment, so the previous logic only worked if the other file for which a snippetTextEdit is being received was visible in a separate split. I feel that this is a hacky approach, so feel free to reject it for something nicer :) Co-authored-by: Timo Freiberg <timo.freiberg@gmail.com> |
||
---|---|---|
.. | ||
ast_inspector.ts | ||
client.ts | ||
commands.ts | ||
config.ts | ||
ctx.ts | ||
debug.ts | ||
inlay_hints.ts | ||
lsp_ext.ts | ||
main.ts | ||
net.ts | ||
persistent_state.ts | ||
run.ts | ||
snippets.ts | ||
tasks.ts | ||
toolchain.ts | ||
util.ts |