rust-analyzer/editors/code/src
bors[bot] 85532e2df3
Merge #5480
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>
2020-07-23 12:33:24 +00:00
..
ast_inspector.ts Flatten commands.ts 2020-05-25 12:14:44 +02:00
client.ts ProblemMatcher auto detects relative/absolute paths and matches VSCode LSP's owner and source. VSCode LSP updated to specify owner. 2020-07-22 22:34:47 -07:00
commands.ts Add a command to compute memory usage statistics 2020-07-07 12:10:14 +02:00
config.ts Improve client logging (use output channel and more log levels) 2020-07-05 17:50:29 +03:00
ctx.ts Implement StatusBar 2020-07-02 15:32:14 +02:00
debug.ts Add tests 2020-07-03 14:23:51 +03:00
inlay_hints.ts Cleanup lsp extensions on the client side 2020-05-25 14:56:26 +02:00
lsp_ext.ts Add a command to compute memory usage statistics 2020-07-07 12:10:14 +02:00
main.ts Gzip artifacts 2020-07-07 23:30:11 +03:00
net.ts Workaround rollup messing up default imports 2020-07-08 14:47:34 +03:00
persistent_state.ts Improve client logging (use output channel and more log levels) 2020-07-05 17:50:29 +03:00
run.ts Fix workspaceRoot 2020-07-03 14:56:30 +03:00
snippets.ts Fix snippetTextEdits applying to other files 2020-07-22 17:36:54 +02:00
tasks.ts Fix ts lints 2020-06-24 12:30:41 +03:00
toolchain.ts Change Runnable.bin -> Runnable.kind 2020-05-31 05:21:45 +03:00
util.ts Fix: allow for binaries from $PATH to pass validity check 2020-07-06 13:41:38 +03:00