2026-02-19 6:50 AM
When opening a project directory in VS Code, the STM32CubeIDE for Visual Studio Code extension gets stuck in an infinite loading state (as shown in the screenshot below).
Symptoms:
"Go to Definition" does not work.
The Build Analyzer view does not appear.
clicking the "Build" button still triggers a successful compilation.
Most dependent extensions, such as STM32Cube CMake Support, remain inactive
Here is the log output from STM32Cube Core during the failed loading:
I discovered that if I completely disconnect my PC from the internet before launching VS Code, the extension reports a network error but then successfully initializes after a short period. Once initialized offline, all features (including Go to Definition) work perfectly.
Here are the logs from a successful (offline) launch:
My computer’s network connection is working fine. I tested this URL in the VS Code command line —developer.st.com/bundles/BundleRepositoryIndex.json — and it downloads normally. I’ve tried both the latest version (3.7.0) and the older version (3.6.4), but neither fixed the issue. Right now, the only way I can open it is by disconnecting my computer from the network. Is there any way to solve this problem?
Solved! Go to Solution.
2026-02-20 6:36 AM
Do you see any interesting information, such as errors, in the Developer Tools console during the startup period?
(See Help > Toggle Developer Tools > Console tab)
Feel free to send it to me via private message if you consider the content should not be posted here.
2026-02-19 9:09 AM
Any "chance" you are experiencing an extension conflict ?
Have you extra extension as addition to STM32Cube ones ?
2026-02-19 9:12 AM
If first time install have you seen bottom right notification asking you to accept STM32Cube bundles install as extra of extensions ?
2026-02-19 7:29 PM
I deleted the VSCode data folder and reinstalled VSCode from scratch.
Now I only have the STM32Cube extension installed, along with the dependencies that were automatically installed by it. There are no additional extensions.
However, I am still experiencing the same issue.
2026-02-19 10:03 PM
Ok.
What about bundles ? Are you getting them ?
Could you share which OS and which VS Code version please as extra.
2026-02-19 10:31 PM
The toolchain and STM32Cube extension were working fine before.
The issue started about three days ago, and now the extension gets stuck while loading.
About bundles, they used to download correctly before, so I’m not sure if something is wrong now. How can I verify or reinstall them?
Here is a screenshot of all the extensions currently installed in my VSCode:
I also found a panel called "STM32CUBE BUNDLES MANAGER", and I’ve attached a screenshot of it.
For reference, my system information is:
- Windows 11 version 24H2
- VSCode version 1.109.4
2026-02-19 11:34 PM
@LiHua
I've got a try just now
My system information is:
- Windows 11 version 24H2
- VSCode version 1.109.5
From scratch setup: is ok on my side
1) Bundles install notification I've accepted
2) Extensions are pending bundles install completion
3) Finally I'm getting hand back and bundle are set ok
2026-02-19 11:42 PM
@LiHua
Maybe have a try about an incremental setup to identify what is blocking on your side.
+ As first step, from clean env., have just a try to install not the extension pack but the very first extension of which is https://marketplace.visualstudio.com/items?itemName=stmicroelectronics.stm32cube-ide-core.
It should manage bundles install too.
+ Once ok have a try about https://marketplace.visualstudio.com/items?itemName=ms-vscode.cmake-tools
+ Once ok have a try about https://marketplace.visualstudio.com/items?itemName=stmicroelectronics.stm32cube-ide-build-cmake
+ Once ok have a try about https://marketplace.visualstudio.com/items?itemName=stmicroelectronics.stm32cube-ide-bundles-manager. Are you able to get bundle manager GUI up & running ?
"Once ok" means extension activated
2026-02-20 1:47 AM
Thank you very much for your suggestion.I also updated my VSCode version to 1.109.5, but the issue still remains.
After cleaning my environment, I followed your steps and installed the extensions one by one. However, at step 3, STM32Cube CMake Support got stuck while activating.
I tried restarting VSCode, but STM32Cube CMake Support always stays in the “Activating” state and never finishes.
Below are its logs.
Could this be caused by a network issue on my side?
2026-02-20 1:51 AM
Hi @LiHua,
Does "STM32Cube CMake Support" never activate even if you don't have any folder/workspace opened in VSCode ?