Skip to content

successfully intall fortls in linux but don't work in VS code using ssh #191

Answered by gnikit
GYC-lab asked this question in Q&A
Discussion options

You must be logged in to vote

With VS Code's SSH extensions what you end up doing is install a copy of vscode and all the extensions you are using in your remote machine and your local machine simply connects to that. So to get fortls on your remote machine you actually need to install it in your remote machine with pip, see the Docs: https://gnikit.github.io/fortls/quickstart.html#download. Assuming that your windows machine has the pip install location to its PATH you should be good to go, else you need to set the "fortran.fortls.path": "fortls" setting to the absolute path to fortls.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@GYC-lab
Comment options

@GYC-lab
Comment options

@gnikit
Comment options

@GYC-lab
Comment options

@gnikit
Comment options

Answer selected by GYC-lab
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
Converted from issue

This discussion was converted from issue #190 on September 16, 2022 14:05.