aboutsummaryrefslogtreecommitdiff
path: root/docs/dev/style.md
diff options
context:
space:
mode:
authorRĂ¼diger Herrmann <[email protected]>2020-08-24 15:37:45 +0100
committerRĂ¼diger Herrmann <[email protected]>2020-10-10 12:46:10 +0100
commite90931a2047e6e38f173e2e2f2a24ad648e92e9d (patch)
tree0ef92bcd580446c4ea44902f0f959d547a698943 /docs/dev/style.md
parent05261f5aeb1dcf01c5dfcf3e01826e57b1249ca9 (diff)
Show reason for failed rename refactoring
Return an error with a meaningful message for requests to `textDocument/rename` if the operation cannot be performed. Pass errors raised by rename handling code to the LSP runtime. As a consequence, the VS Code client shows and logs the request as if a server-side programming error occured. Resolves https://github.com/rust-analyzer/rust-analyzer/issues/3981
Diffstat (limited to 'docs/dev/style.md')
0 files changed, 0 insertions, 0 deletions