I’m not sure what’s causing it, but I get the same “Files have been modified outside Godot” error. I actually clicked the button on your screenshot since my fiel is also named enemy.gd
Files were changed outside of Godot - yes, I have such a message when I start the game. I do not make changes. It is annoying. But I don’t have any error notifications in the console. Swears at the script manager_paused.gd
I don’t have this issue because I made my default IDE VSCode, maybe try VSCode or Visual Studio (both of which have great intellisense for gdscript and the godot api).
It doesn’t use the built-in IDE for Godot, changing the default.
This means it won’t prompt you to accept a change made outside of the built-in IDE.
That’s how it’s related.