This was mildly confusing, when you renamed the class from EditorSnap to CubeEditor, I’m unsure if you used the rename feature that we use for the functions (that’s what I used - it appears you used some keyboard short cut or plugin - it happened so quickly). As I proceeded this way, I did not get the “rename class” window that appears in the video nor did my script rename itself. Instead, after renaming the class in script, I restarted Unity and then renamed the file in Unity before reapplying it to the cube.
Could you clear up how exactly you renamed the script in a way that gets the file auto-renamed?