Replies: 1 comment 1 reply
-
|
Apologies for taking some time to get back to you @zoziha. On a high level, what should be happening is this situation is discard the states of the excluded files when they are closed. Other than closing the source files from the excluded directories and restarting the language server (via the Command Palette) I don't have a very good temporary fix for this. The matter definitely needs further investigation. |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I mainly use
Windows+VS Code+Modern Fortran+fortls+fprettify+ford.Recently, since some time,
fortlsdoes not seem to handle correctly theexcl_pathswhich I set insettings.json.I have a replication example here, when I click on the variable
ainapp/main.f90and go to the definition, it will jump todoc/src/mod.f90(fordoutput_dir: doc) instead ofsrc/mod.f90.Here is my
settings.json:{ "fortran.fortls.excludeDirectories": [ "doc/**" ], }I had tried to mention this as an issue, but it seems like the requirements for writing an issue are more complicated.
Does the
excl_pathsfailure actually exist, or is it a problem with my settings? Thanks!Beta Was this translation helpful? Give feedback.
All reactions