textX / textX-LS

Language server for domain specific languages based on textX
MIT License
38 stars 7 forks source link

"Not a valid python path!" for Python 3.10+ #61

Open bjelicaluka opened 1 year ago

bjelicaluka commented 1 year ago

When trying to install the VS Code extension with Python 3.10.8, the setup fails.

image

It is due to the python path validation. It is matching single-digit numbers in the Regex, instead of allowing for multiple-digit numbers. Here is an example:

image

It works fine for all python versions prior to 3.10, but it fails for all above that.