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
fix: make sure deleted items aren't added back to the cache (#685)
Fixes#679
unrelated: disabled the gocognit linter as it's annoying
Signed-off-by: Anders Eknert <[email protected]>
Avoid panic when searching for `.regal/config.yaml` (#684)
As reported in #682, the server panics when the dir for whatever reason
is "". I don't yet know how to trigger this, and the result of this fix
is likely that the config file won't be found when this happens. But as
a temporary measure I prefer to have Regal run with default configuration
compared to crashing.
Signed-off-by: Anders Eknert <[email protected]>
lsp: implement `workspace/symbol` (#673)
This was rather trivial with document symbols supported. It's now
made possible to search for symbols across the whole workspace, which
is rather nice!
Signed-off-by: Anders Eknert <[email protected]>
lsp: Make verbose logging configurable (#623)
Setting --verbose will now be required to see request responses from the
server.
Signed-off-by: Charlie Egan <[email protected]>
lsp: Handle case where a rego file is empty (#602)
This ensures that an error is shown when the parsing fails
because the file is empty.
In this case, the astError is a single error rather than a
slice.
We should add a new opa-errors entry for empty module.
Signed-off-by: Charlie Egan <[email protected]>