Skip to content

fortls unexpected path behaviour for vscode #267

Answered by gnikit
breengles asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@gnikit
Comment options

Answer selected by breengles
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants