Skip to main content
AAlis.23
Associate III
Jan 15, 2022 5:13 PM UTC
Question

STM32CubeIDE autocomple (content assist) not working

My autoomplete shows "no default proposals" when plrssing CRTL+Space and do nothin when typing "." or "->" or any other trigger...

Some people solved this enabling "Parsing-based Proposals" in the "Content Assis -> Advanced" tab but mine is enabled and not working... I've tested a lot of things and the ContentAssis still not worling... Any help???

Thanks

12 replies

TDK
Jan 15, 2022 8:21 PM UTC

The IDE needs context. Make sure project builds successfully. Make sure you’re in a project file. Rebuild the index.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Visitor II
Sep 14, 2024 6:59 PM UTC

Sadly, I don't know how one rebuilds the index :(

Explorer
Jan 17, 2025 7:22 AM UTC

I assume TDK aks if the project builds. To rebuild your index you simply open your project explorer view, right click on to open the context menu: Index -> Rebuild

rebuild index.png:(


 

AAlis.23
AAlis.23Author
Associate III
Jan 15, 2022 8:31 PM UTC

Hi,

Rebuild the index worked, but, every time I added a new variable or modify struct or whatever the content asist don't show the new variables and I need to rebuild the index... of course this is not normal, any idea?

Thanks in advance

TDK
Jan 15, 2022 8:34 PM UTC
Does it build?
"If you feel a post has answered your question, please click ""Accept as Solution""."
AAlis.23
AAlis.23Author
Associate III
Jan 15, 2022 8:50 PM UTC

Yes, 0 erros 0 warnings

AAlis.23
AAlis.23Author
Associate III
Jan 15, 2022 8:39 PM UTC

Ok, I've found an option in preferences to update the index with the files in the editor, but, I need to save the file to apply the changes... It's annoying, it's should be done automatically after typing, like VS or any other good IDE.

Pavel A.
Jan 16, 2022 2:02 AM UTC

This is strange. For me, it finds newly added stuff. Option "Index source and header files opened in editor" is not checked. "Automatically update the index" is checked, and it seems to be on by default.

What is your version? Newly installed or updated?

AAlis.23
AAlis.23Author
Associate III
Jan 16, 2022 8:31 AM UTC

I have the "Automatically update the index" checked but not working until I save the file. My version:

STM32CubeIDE

Version: 1.8.0

Build: 11526_20211125_0815 (UTC)

OS: Windows 10, v.10.0, x86_64 / win32

Java version: 11.0.11

RDrum.1
Associate II
Aug 31, 2023 2:41 AM UTC

My STM32CubeIDE stopped providing Code Complete proposals randomly, after updating to 1.13.1.

It started working after checking "Parsing-based Proposals" in the "Content Assist -> Advanced", which I'd never seen before. Needless to say I hadn't gone in there and changed it, so it's possible it either changed itself (!) or the defaults were wrong. Very annoying either way.

Visitor II
Aug 21, 2025 9:16 AM UTC

Facing this exact same issue, still after 3 years. Is there any fix?

Associate
Jun 22, 2026 3:52 PM UTC

^ Enabling Indexer worked for me.