Danny Tuppeny
Danny Tuppeny
Thanks, I can reproduce this. It appears when we try to automatically import the right library, we don't use knowledge of the Element we're trying to import, so we just...
Although those issues are similar, the implementation is quite different - the way code completion works and adds imports is very specific to how completion works so they'll need their...
I got a bit further with this (https://github.com/DanTup/sdk/tree/auto-import-completions-show-combinator-dc-5238 / https://github.com/DanTup/sdk/commit/73e9f5943e7cc02165227020f2296fa01910deb0) however it broke some other tests due to bad assumptions I made (that `writeType` would collect the `Element` so we...
Fixed by https://github.com/dart-lang/sdk/commit/6de0ef3d5f2d56c437a76c2f269815bb405129a4, thanks @FMorschel!
Cannot repro after adding debug logging... There's not a lot of code between these two steps, but it does call `nextAvailableFilename` which will look for a suitable default folder name....
I found that the place where this stalled was inconsistent, and it turns out to be other code blocking the thread when we hit one of the `await`s during the...
Profiling extension startup currently seems broken - https://github.com/microsoft/vscode/issues/251014 so we might need to find another way to profile the startup (such as a fake delay that allows us to manually...
I was able to capture a trace of the extension host when this happened.. However, it shows no code taking any time. So my guess is that this delay is...
Nothing in the profile trace captured from the dev tools either: [vs_code_devtools_profile-20250619T165606.json](https://github.com/user-attachments/files/20822447/vs_code_devtools_profile-20250619T165606.json)
I've filed https://github.com/microsoft/vscode/issues/251921 in the hope of getting some more pointers about what else we can profile.