Commit b85e96a
add client-side support for "rust-analyzer.applySourceChange"
The "rust-analyzer"[0] language server requires the clients to implement
a custom source change operation.
This is similar to the already existing "java.apply.workspaceEdit"
functionality in this language client.
This feature can be removed once rust-analyzer supports server-side file
manipulation[1].
[0]: https://github.com/rust-analyzer/rust-analyzer
[1]: rust-lang/rust-analyzer#12321 parent 3b6274f commit b85e96a
2 files changed
+52
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
804 | 804 | | |
805 | 805 | | |
806 | 806 | | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
807 | 821 | | |
| 822 | + | |
| 823 | + | |
808 | 824 | | |
809 | 825 | | |
810 | 826 | | |
811 | 827 | | |
812 | | - | |
813 | | - | |
814 | | - | |
815 | | - | |
816 | | - | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
817 | 835 | | |
818 | 836 | | |
819 | | - | |
820 | | - | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
821 | 862 | | |
822 | 863 | | |
823 | 864 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
59 | 62 | | |
60 | 63 | | |
61 | 64 | | |
| |||
0 commit comments