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.
-
Description
I mainly use
Windows
+VS Code
+Modern Fortran
+fortls
+fprettify
+ford
.Recently, since some time,
fortls
does not seem to handle correctly theexcl_paths
which I set insettings.json
.I have a replication example here, when I click on the variable
a
inapp/main.f90
and go to the definition, it will jump todoc/src/mod.f90
(ford
output_dir: doc
) instead ofsrc/mod.f90
.Here is my
settings.json
: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_paths
failure actually exist, or is it a problem with my settings? Thanks!Beta Was this translation helpful? Give feedback.
All reactions