-
Hi! Fortls is able to start if
but it fails with any of the following:
that is only if the path is fully and explicitly specified Are there any ideas how to specify it via env variables as I work not only on mac but also on linux and it would be really nice to have this setting to be synced :) versions: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
So currently the vscode extension does not have access to the ${env} environment. |
Beta Was this translation helpful? Give feedback.
-
Hi again mates! Here I come again :) First of all, let me thank you all for the answers! I hope that someday it will become possible to specify either with Though I wrote all the things above, the following is working on the pre-release version of the Modern Fortran extension |
Beta Was this translation helpful? Give feedback.
So currently the vscode extension does not have access to the ${env} environment.
We should really fix that. If you don't want to install fortls on your base Python distribution/ don't want the pip packages to be in the path
I would maybe suggest using a Python virtual environment that is local to your project. Then the fortls path would always be
${workspaceFolder}/venv/bin/fortls