Commit 9100f66
committed
Refresh editors using LSP instead of close+open.
Refreshing by toggling the language (causing a close+open) might lead to
requests coming in while the file is closed, therefore causing confusing
errors.1 parent 81a9f66 commit 9100f66
2 files changed
Lines changed: 19 additions & 5 deletions
File tree
- rascal-lsp/src/main/java/org/rascalmpl/vscode/lsp/parametric
- rascal-vscode-extension/src/lsp
Lines changed: 18 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
945 | 945 | | |
946 | 946 | | |
947 | 947 | | |
948 | | - | |
949 | | - | |
950 | 948 | | |
951 | 949 | | |
952 | 950 | | |
| |||
955 | 953 | | |
956 | 954 | | |
957 | 955 | | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
958 | 971 | | |
959 | 972 | | |
960 | 973 | | |
961 | 974 | | |
962 | 975 | | |
963 | 976 | | |
964 | | - | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
965 | 980 | | |
966 | 981 | | |
967 | 982 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
106 | | - | |
| 105 | + | |
107 | 106 | | |
108 | 107 | | |
109 | 108 | | |
| |||
0 commit comments