Forum: System Workbench for STM32

How to automatic fullfill vars name etc..

Hi guys

Normally i use atmel 6.1 to program my atmel devices.
That editor do fullfill var names etc when you type so it is extremely fast to develop in.

How can I setup openstm32 to do the same ?

Hjalmar

France

Hi Hjalmar,

In a lot of cases, System Workbench will automatically propose function names or variable names as soon as it get a few characters; if it does not do it automatically, you can just hit CTRL-SPACE and it will propose you completion of what we already start to type.

Note that for structures, as soon as you have selected the structure type (by typing or selecting a structure variable or a pointer to a structure variable) System Workbench will list all structure members, filtering the list as you type the first letters and allowing you to choose the right one by either clicking it or hitting return to accept the current selection (you can move in the list using arrows).

Bernard

Thanks Bernard ...

I did find that hitting CTRL-SPACE working VERY fine, but it do not do it when i type ...do I have to set anything to get it to do automatic ?

OPENSTM32 are a great tool and i do work with stm32F7-Discovery board and it works VERY fine together ;oo)

Hjalmar


http://stackoverflow.com/questions/25084426/automatic-code-completion-in-eclipse-8-4Question

http://stackoverflow.com/questions/6912169/eclipse-enable-autocomplete-content-assistQuestion

Thats the thing i want but i am not the only one i can see ;o)

In openstm32 go to
window
preferences
c/c++
editor
content assist
here you can see that auto activation are only for . and -> etc...Here should be all the letters in the alphabet and then it would work ;o)

i use ctrl + space until that ;o) ...but in atmel 6.1 it is working VERY fine..

Hjalmar


Yes I see the same thing. There is no function to autocomplete on alphanumeric characters. AAAA must need this!