Commit 0084697
authored
Catch failure to open script when language service is disabled (#699)
This commit supresses diagnostic events sent by a project service
regarding changes to a project. Today, not supressing such events
can cause a type error to be thrown when the language server session
begins handling events for a file that is outside the project managed by
the project service, and for which a program does not exist in the
corresponding project's language service.
This commit also wraps blocks that terminate in setting a notification
status to always complete their notification.
Closes #693
Closes #6961 parent 2bae69c commit 0084697
1 file changed
+14
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
56 | 61 | | |
57 | 62 | | |
58 | 63 | | |
| |||
85 | 90 | | |
86 | 91 | | |
87 | 92 | | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
93 | 101 | | |
94 | 102 | | |
95 | 103 | | |
| |||
0 commit comments