auto complete or auto format (ctrl T or ctrl space)

hello everyone,

I am new with this arduino device and I have the problem that the autocomplete or autoformat does not working.

I have been looking for all google results and nothing like this showed off.

can someone have any idea about why is disable or isn't working?

thank you

Autoformat typically fails because of these:
a ; is missing
a { or } is missing
a [ or ] is missing
a ( or ) is missing.

If you post your code, using code tags < />, we can help you fix it.

hi

thanks for reply. I am rewriting the code for blinking led what is usually used for beginners.

void setup() {
  // initialize digital pin 13 as an output.
  pinMode(13, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(13, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);              // wait for a second
  digitalWrite(13, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);              // wait for a second
}

that picture shows the "second" menu windows that is not showing the software.

thank you.

that picture shows the "second" menu windows that is not showing the software.

What are you (incorrectly) expecting to see, that you don't?

hi Pauls

on the red circle is what I mean. I hope you can help me thanks.

arduino_autoformat.jpg

on the red circle is what I mean.

I'm still failing to understand. Are you expecting the code in the windows to be auto-formatted? If so, I can't see that being a realistic expectation.

what I am looking for is for the menu that shows the possible options to complete the sentence. I mean like intellisence for VS.

for example if you type "de..." then shows options like "delay, delete... etc"

is it clear?

thanks

what I am looking for is for the menu that shows the possible options to complete the sentence.

There isn't one. Auto-completion is not a trivial task and is not easy to keep up to date. The Arduino really only has a very few Arduino-specific functions, like pinMode(), digitalRead(), etc.

If you really want code-completion, try the Arduino plugin for Eclipse IDE from Arduino Eclipse IDE named Sloeber - Welcome!