No color formatting after saving script

Do anyone know why the color formatting of the script turns gray after i save a new script in openmv IDE? I cannot get the color coding back. I have to paste the script in a new project to get it back.
Any ideas what i am doing wrong?

Did you remove the .py extension?

Sorry if i was not clear.
After i save the code as .py, all color formating dissaperars. See new screenshot, before/after save.
How do i get the color coding back again after saving?

Yeah, it’s based on the file extension. Please verify that the file extension has .py on the end on your disk.

I can see in the name browser it doesn’t have .py