Underlines_in _ sketch_names

In version 1.8 if you named a ino file with a name such as ‘ my sketch version 1’

Then the underlines between each word are automatically inserted to give ‘ my_sketch_version_1’. This does not happen in 2.x

Is there a setting I can change ?

Hi @hammy.

Unfortunately no. The automatic sketch name sanitization feature from Arduino IDE 1.x is not implemented in 2.x.

You might consider switching to a "PascalCase" sketch name format, which is the established convention (e.g., "BlinkWithoutDelay").

Yea I’m ok with that format - just never think of it when typing a name ( I still use 1.8 a fair amount as 2.x seems inconsistent - if you type Serial.print() or serial.print() it seems accept and changes to that salmon colour suggesting it’s ok & doesn’t always point to where the error is after compiling ( esp if you use tabs ) , so can be a bit misleading.) You know what you’ve got with 1.8, 2.* seems inconsistent ( IMHO ) at times, and like today decided to mess with my cursor …. Then serial monitor …