Hi. I think that the language server fails when the file has a UTF-8 character in the file name or path. To replicate:
- ensure that syntax checking as you type is enabled
- open a new python file with the standard template
- save it as module1.py
- make a syntax error, for example put a space in "pass" at line 13 (so it becomes "pa ss")
- note that the ss becomes underlined and a bug is indicated
Now repeat the same sequence, but save the file as modulè1.py. The red underline is not shown and the bug is not indicated.
If you take the file at the end of the first sequence and save it as modulè1.py the red underline remains. If you then remove the error by deleting the space the red underline disappears but the bug indication on the tab remains. If you then repeat the syntax error no errors are shown.
This occurs on a Windows 10 machine and a Windows 11 machine, both of which have the OS in Italian but I use them with the English language pack. Not sure if this is relevant.
I'm guessing this is a problem with Jedi rather than Pyscripter, but I thought I'd flag it anyway.
Thanks as always for the best python IDE. The AI integration is amazing!
Piero