Commit 73b1053
committed
docs: add VS Code issue references for textDocuments lazy loading
Document why we use openTextDocument() instead of textDocuments.find()
in batch save operations. The textDocuments array has lazy loading
behavior and may not contain programmatically opened documents.
References:
- microsoft/vscode#33546
- microsoft/vscode#386651 parent c53ef0b commit 73b1053
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
351 | | - | |
352 | | - | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
353 | 356 | | |
354 | 357 | | |
355 | 358 | | |
| |||
0 commit comments