cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE - Auto-complete (Ctrl+Space) is not working

Jack3
Senior II

Hello, I installed STM32CubeIDE and imported (a copy) of a TS project.

Quickly, I hit an issue: auto-complete proposals (Ctrl+Space) gave no proposals in STM32CubeIDE. The pop-up window only shows 'No Default Proposals'

  

UPDATE: I fixed it, the preferences setting needed to be a little bit different than in TS.

In Preferences -> C/C++ -> Editor -> Content Assist -> Advanced

I checked the following boxes:

  • Parsing-based Proposals

Both in the upper and lower window.

Note, I imported my preferences settings from TS, as it is a huge task to manually get the IDE colors right, otherwise. I think this disabled the auto-complete feature (which worked in TS).

I hope this helps somebody, when hitting the same problem.

Some other remarks for who is interested.

I noticed it uses 'arm-none-eabi-gcc' instead of 'arm-atollic-eabi-gcc'.

The compilation time is about 30-50% longer (all threads enabled).

TS used to ignore changes in the header files, making a rebuild necessary in order to reflect any changes. This issue is solved in the new IDE!

  

14 REPLIES 14
PWass
Associate

Thank you very much.:smiling_face_with_smiling_eyes: Had the same issue and it fixed it.

:grinning_face:

Greetings

zul-a
Associate II

Thanks @Jack​ . Tonot have this checked by default is an offence..:grinning_face: ..

AlfaRomeo
Associate

Thank you Jack. It was very useful, I fix it finally. Kind regards :grinning_face_with_sweat:

haraldgraef
Associate II

Thank you very much, @Jack​ ! Worked also for me. :grinning_face:

MrComrade
Associate

Thank You @Jack​ 

HSall.1
Associate

Thanks Jack

ad ho
Associate III

You saved my day and most of the following.

CLamb.1
Associate II

Had the same problem with a fresh installation on a Mac... Your post saved my morning... Thank you!

Kepo
Associate II

Thanks!