IDE 1.8.12 bug?

Hello,

Noticed a strange behavior in the IDE. While making a class for a PCB card I renamed the tabs (by clicking on the 'arrow down' > Rename) for the .cpp and .h file and changed the class name:

When compiling the sketch I got "error 'Class name here' does not name a type".

I did not find any error so I closed the IDE and restarted it. Then it compiled OK. Is this normal behavior?

It's a bug. It may be the same as was reported here:

I notice you're using an outdated version of the Arduino IDE. You might try 1.8.13 to see if the bug has been fixed.

OK. I'll update :slight_smile: Thanks.