You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now configuration is stored in the state of the language server. The
configuration is resolved with `workspace.didChangeConfiguration` LSP
method. VS Code always sends all `YARA.*` configuration attributes after
LSP communication is initialized and when the configuration changes
using this LSP method. This is most cheaper than calling `workspace.configuration`
for specific language feature configuration every time.
Additionally, the language server now caches the entire workspace by storing a
CST for each YARA file. This still can be disabled in YARA LS configuration in the
editor settings. For maintaining consistency between cache and FS state
it is leveraging LSP method `workspace/didChangeWatchedFiles` to watch
YARA files that were not opened in the editor but were changed (e.g. git
commands or any other manipulation from the terminal...).
0 commit comments