Skip to main content
HReet
Associate
September 12, 2019
Question

STM32CubeIDE Code Proposals not working

  • September 12, 2019
  • 2 replies
  • 2715 views

Hello everybody,

I just recently installed CubeIDE on my Mac and Windows systems. On both Code Proposals for thinks like HAL functions or user defined functions does not work. Do you know if there's a chance to change that?

I already activated all kind of proposals in the Eclipse preferences. (C/C++ -> Editor -> Content Assist -> advanced)

thanks for your support!

This topic has been closed for replies.

2 replies

SlavaGo
Visitor II
June 6, 2022

Hi, @HReet​ !

You can use the 'Ctrl+Space' combination to open code proposals. When you use '.', '->' or '::' it opens automatically. When typing, for example, a function name, you will have to trigger it manually using 'Ctrl+Space'.

Pavel A.
Super User
June 6, 2022

The thing that you're asking about is called Code Completion (not "proposals").

As the CubeIDE user guide says, this is a feature of Eclipse and explanation how to use it can be found in Eclipse CDT documentation.

Basically, right click on the project, select Index-> rebuild.

If this does not help, open the settings and check indexer options (especially max. file size that the indexer supports, this affects indexing of huge STM32 library .h files)

"Content Assist" is something different, it is for source constructs like for/while cycles, switch, etc.