boocs / ue4-intellisense-fixes

Automatically fixes VSCode/Unreal Engine Intellisense Config bugs on startup
MIT License
162 stars 9 forks source link

Times out while searching for .uproject file #9

Closed lukebrewerton closed 2 years ago

lukebrewerton commented 2 years ago

I get the following error when VSCode starts up: [exthost] [info] Not activating extension 'boocs.ue4-intellisense-fixes': Timed out while searching for 'workspaceContains' pattern *.uproject

I am using UE 4.27.2, VSCode 1.63.2, extension 2.2.0.

I have found this with a project converted from UE 4.26, and a newly created C++ project. The uproject file is definitely there and shows in the file explorer of VSCode

I have tried the Refresh VSCode project open and restarting VSCode but I still get the same error showing in the extension logs

boocs commented 2 years ago

That is very strange!

lukebrewerton commented 2 years ago

Aah yes, I left out the OS. It's Windows 10.

I did install VSCode October 2021 and had the same issue, then installed August 2021 and it works fine so not sure if something changed in VSCode between those times

boocs commented 2 years ago

Has the August version been auto updated to the latest version and still working?

lukebrewerton commented 2 years ago

It has now, I put it off so I could get some bits done, but it still breaks even with the auto update

boocs commented 2 years ago

I've actually started getting this very rarely but can't consistently reproduce it. I don't know if putting a timer to delay the start would work or even be the best solution.

You can use the VSCode developer command Reload Window, after starting VSCode, to temporarily fix it(hopefully).

boocs commented 2 years ago

Might be easier than I thought.

Could you test the beta release to see if it fixes it?

https://github.com/boocs/ue4-intellisense-fixes/releases

lukebrewerton commented 2 years ago

The Beta version works! It's all happy again! Thank you!!

As a side note, the Docs search plugin is also effected by the same issue I just saw, not a big deal, but just making you aware

boocs commented 2 years ago

Made it non-beta with current release. Thanks for testing!

I'll release a docs search update soon.