Skip to main content
Associate
June 22, 2026
Question

Autocomplete (Ctrl+Space) and Indexing Not Working

  • June 22, 2026
  • 1 reply
  • 13 views

TL;DR: Right click your project in Project Explorer, click Properties > C/C++ General > Indexer > Enable Indexer if option is not checked.

 

Hi all,

I have seen other posts in the community about Autocomplete not working with their projects, with fixing the indexing being a possible solution that does not work for many. I have seen that some go to Window > Preferences > C/C++ > Editor > Content Assist > Advanced and enabled “Parsing-based Proposals”. For me, that did not work either, and I could not get any Autocomplete results for the HAL library or any imported APIs/libraries.

However, I finally found a possible culprit when Right-Clicking a HAL_Init( ) call within my code and clicking References > Workspace/Project

A window should pop up and may relay the message “unknown results: indexer is not enabled”).

Window is in top right.

The solution for this lies in right clicking your project in Project Explorer and clicking Properties > C/C++ General > Indexer > Enable Indexer if the option is not checked. Applying this resolved the issue for me.

 

I copied and pasted my project from another one I made and am not sure if it disabled this option in the process, but it was a sneaky one since the project still compiles, executes, and lets you rebuild the index when you need to. Should be something ST should check out.

1 reply

Ghofrane GSOURI
ST Technical Moderator
June 26, 2026

Hello ​@wufl 

Thank you for sharing your workaround on the ST Community.
Could you please specify the IDE version in which this issue occurs as well as your operating system?

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.