You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, thank you for this great extension! It is exactly what I was looking for.
I had one issue:
I always got the message "Python 3 is required" and the extension did not start. I had Python 3 in my path and the terminal of VSCode did use Python 3. Setting pythonPath of the Python extension also did not help.
I investigated further and found out that the PlatformIO extension that I had installed uses version 2.7 of Python which is bundled with the extension. Somehow, your extension was using the Python version bundled with another extension.
It might be a bug with VSCode.
Anyway, it would be helpful if your extension had a pythonPath setting like the Python extension to choose the appropriate Python version.
The text was updated successfully, but these errors were encountered:
Thank you for the feedback and I am glad that you like the extension.
Currently the extension is trying to find python version from $PATH by executing commands python --version and python3 --version if first command is python 2. Anyway, I didn't predict situation that you are facing, so I will add pythonPath to the extension configuration section and use python path from there.
I have added a configuration section for textx-ls extension. Now you are able to add a path to python version that you want to use. Here is an explanation how to do it. Please let me know if it's working properly now. Thanks!
First, thank you for this great extension! It is exactly what I was looking for.
I had one issue:
I always got the message "Python 3 is required" and the extension did not start. I had Python 3 in my path and the terminal of VSCode did use Python 3. Setting
pythonPath
of the Python extension also did not help.I investigated further and found out that the PlatformIO extension that I had installed uses version 2.7 of Python which is bundled with the extension. Somehow, your extension was using the Python version bundled with another extension.
It might be a bug with VSCode.
Anyway, it would be helpful if your extension had a pythonPath setting like the Python extension to choose the appropriate Python version.
The text was updated successfully, but these errors were encountered: