Skip to content

Specify python for fortls in vscode #161

Answered by guziy
guziy asked this question in Q&A
Discussion options

You must be logged in to vote

I think I found a way to do it.

Activate the conda environment then:

pip install --user fortls # wich will install fortls in ${HOME}/.local/bin with the python absolute path set in the sheebang

And specify the path to the pip version of fortls in remote settings of vscode, relaunch vscode and enjoy.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by guziy
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