Using geany as IDE?

hope this is the right place.

I wanted to know if I can use Geany( or any other editor) in order to make the code easier to write , by auto-complete word , showing what sub commands I can use etc.

for example :
if I will write
"Ser"
it will show me I can use
"Serial"
then when I add '.'
it will give all the "options" of Serial :

begin()
end()
find()
findUntil()
flush()
parseFloat()

no need to upload it to the Arduino - just to see what can I do\use

I have pycahrm \ visual studio install also - can I use any of them ?

Thanks ,

Visual Studio has special Arduino plugin Visual Micro (full-feature IDE with auto-complete and many other options)
https://www.visualmicro.com/

You mean like Arduino IDE Version 2.0 ?
image

image

Visual studio is a nice program as well however I did not want to spend the time to learn it. I have been using geany for years and yes it will to the "Ser" thing, it gives you a list, select it and press enter. This works if it has been entered previously into your code. I like this for labels etc, For the commands I enter them manually because of problems I have had in the past with autofill. I like the symbol list, scrabble and terminal. It has a compiler tabe but I have never used it. I have had as many as 20 tabs open without a problem, some local other on a server. I simply set my IDE to use an external editor. I use it on Linux where I can shut the machine down and when I boot it back up I start Geany which loads everything that was loaded before and is ready to go. The Arduino IDE does this as well. There is a LOT it will I do not know about, I keep it simple.

Do I need to setup \ change something ?
I have download IDE 2.0.0-rc9.2
I wrote
"Serial."
but I didn't get any list (like you show)
only after writing "b"
I got

abc begin
abc board
abc by
abc Blink
.
.

did I miss something ?

Thanks,

Take a look at your Preferences

Have you got for "Editor Quick Suggestions" ticked ?

Yes it's mark
I took the simple Blink code - just to see if it's works

void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(LED_BUILTIN, OUTPUT);
  Serial.begin(9600);
}

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

void main()
{

Serial.


}

but I got nothing after the '.' (in the IDE I get nothing)
did I miss something ?

Nothing that I am aware of

Here are my Preferences

I am using rc9.2

Do you have a processor or board selected?

Good thinking !

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.