Pywikibot is unable to read my environmental variable 'EDITOR' which is set to 'code -w' for VSCode.
I see on editor.py that only a limited number of text editor names are supported by the TextEditor class, including kate, vim, emacs, jedit, and notepad++. First of all, I would recommend adding Sublime Text and VSCode to this list of supported editors. But if only such a limited number of editors are supported anyway, it's important to fall back to e.g. tkinter if the environmental variable for 'EDITOR' cannot be interpreted. Right now there is no fallback if there is any value for "EDITOR", resulting in a FileNotFoundError if TextEditor can't interpret that environmental variable.