Commit 43d8927
authored
Don't block waiting for debug configurations (#1914)
When a folder is added to the workspace context we were awaiting the
`makeDebugConfigurations` method. This method generates launch
configurations in the launch.json. If the method finds it needs to
update existing launch configurations, it puts of a warning message
dialog prompting the user for action.
Because we were awaiting this method, the dialog blocks folder addition
and in turn prevents sourcekit-lsp and other extension features from
activating for the folder until the dialog is dismissed.
Because nothing relies on the result of `makeDebugConfigurations`,
simply kick off the work but don't await it.
Issue: #19121 parent 1231fa8 commit 43d8927
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
221 | | - | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
222 | 223 | | |
223 | 224 | | |
224 | 225 | | |
225 | 226 | | |
226 | 227 | | |
227 | 228 | | |
228 | 229 | | |
229 | | - | |
230 | | - | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
231 | 233 | | |
232 | 234 | | |
233 | 235 | | |
| |||
0 commit comments