While investigating #5047, I opened my augmentation testing project. It had main_augmentation.dart already open and in the logs I see a dart/textDocument/publishOutline for that file.
If I then click "Go to Augmented" CodeLens, it opens main.dart, but no outline is ever sent.
I suspect there is some race here, but it's the main reason of hitting the 5s timeout in #5047 and fixing this might be a better way to handle it (because changing the timeout of not waiting is a trade-off with negative consequences noted in microsoft/vscode#208900).
While investigating #5047, I opened my augmentation testing project. It had
main_augmentation.dartalready open and in the logs I see adart/textDocument/publishOutlinefor that file.If I then click "Go to Augmented" CodeLens, it opens
main.dart, but no outline is ever sent.I suspect there is some race here, but it's the main reason of hitting the 5s timeout in #5047 and fixing this might be a better way to handle it (because changing the timeout of not waiting is a trade-off with negative consequences noted in microsoft/vscode#208900).