Just LSP, upon encountering an import or import? directive looses track of source lines, and reports diagnostics (errors, warnings) from an imported file as if they were in the file that contains the import statement.
Meanwhile, the imported file, in my case Justfile.user is not being recognized by the LSP in any capacity.
Moreover, all these misplaced warnings are wrong ("Parameter track_name2 appears unused"), but that's a separate issue.
After modifying the imported file, Just LSP needs to be restarted, or at least the import statement to be commented and uncommented to refresh the diagnostics. But that's a separate issue too.
Just LSP, upon encountering an
importorimport?directive looses track of source lines, and reports diagnostics (errors, warnings) from an imported file as if they were in the file that contains theimportstatement.Meanwhile, the imported file, in my case
Justfile.useris not being recognized by the LSP in any capacity.Moreover, all these misplaced warnings are wrong ("Parameter
track_name2appears unused"), but that's a separate issue.After modifying the imported file, Just LSP needs to be restarted, or at least the import statement to be commented and uncommented to refresh the diagnostics. But that's a separate issue too.