In Improvements and new features for indexing#1290, the sig_state_of_require has been changed to Allow the --require flag to be used multiple times with the search and websearch commands.
However, this breaks the LSP server.
To reproduce :
In Vscode open any LP file (for instance tests/OK/apply.lp)
add require open Stdlib.Prop; at the begining of any the file
go one step forward
in the terminal you will see somethins like :
file:///......../lambdapi/tests/OK/apply.lp:1:0-66/...../.opam/default/.opam-switch/build/lambdapi-stdlib.1.3.1/Prop.lp cannot be mapped under the library root. Consider adding a package file under your source tree, or use the [--map-dir] option.
In Improvements and new features for indexing#1290, the
sig_state_of_requirehas been changed to Allow the--requireflag to be used multiple times with thesearchandwebsearchcommands.However, this breaks the LSP server.
To reproduce :
In Vscode open any LP file (for instance
tests/OK/apply.lp)add
require open Stdlib.Prop;at the begining of any the filego one step forward
in the terminal you will see somethins like :
file:///......../lambdapi/tests/OK/apply.lp:1:0-66/...../.opam/default/.opam-switch/build/lambdapi-stdlib.1.3.1/Prop.lp cannot be mapped under the library root. Consider adding a package file under your source tree, or use the [--map-dir] option.