Anders Eknert

Results 167 issues of Anders Eknert

It seems like the plugin doesn't know about the key-value version of every, as it complains about the `,`. ```rego allow { every key, val in input { key ==...

bug
area/grammar

[Regal](https://docs.styra.com/regal), the linter for Rego, recently had a language server added. For now this supports diagnostics (i.e. linting), but more features are in development. The [VS Code extension for OPA](https://marketplace.visualstudio.com/items?itemName=tsandall.opa),...

enhancement

# Actual Behavior # Expected Behavior Comparison after `with` should be valid. # How To Reproduce ```rego package t allow := input.yes == true test_me { allow with input.yes as...

bug
area/grammar

Could be the problem is more generic that this, but the plugin currently flags this line on the `-1` location, which should be valid Rego. ```rego is_path(path, x) := path[count(path)...

bug

# What would you like to be added Similar to how the Go plugin adds an action to run the formatter on a file, it would be great if we...

enhancement

Next version (v0.41.0) of OPA will provide enhanced documentation for built-in functions, where e.g. [name](https://github.com/open-policy-agent/opa/pull/4705) of arguments will be exported. It would be very nice if we could leverage this...

Web extensions are extensions that can be installed in the web interface for VS Code, such as presented in GitHub et. al. While we can't do things like calling out...

enhancement
help wanted

That wasn't around when this extension was originally built, so the OPA test commands simply call out to OPA and display the output as provided. Using the Test API provides...

enhancement

And optionally, allow setting other `--ignore` directives via config. ![Screenshot 2023-05-26 at 12 56 48](https://github.com/open-policy-agent/vscode-opa/assets/510711/c934f0b1-ed65-4d3b-b086-122b63a06d9b)

bug

Not sure why, but each time I run "Evaluate selection" I get an extra empty tab opened along with the results tab, as seen in the middle of the attached...