Open kenorb opened 7 years ago
Looks like you have an extra space before wait(10)
. Is that just a copy-paste issue?
Yes, that's correct, my mistake. Is prevent saving the file on syntax error expected? I think it should show at least some error where the problem is (better error handling).
I think I've seen this warning:
[error] PythonIndentation: indent not consistent with tab settings in line 62
but somehow it's not displayed when trying to save above file. This should be the right error to show.
This happened to my once on macOS. When trying to save the code, this error is shown:
and the file isn't saved. Re-opening file didn't help, either restarting the editor.
The affected code:
Basically the code doesn't want to be saved and the editor generates the above error preventing saving the file. Commenting out
wait(10)
seems to help. I think the file should be saved, no matter what are the code syntax problems.