-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rules and input in sub-directory doesn't work #27
Comments
I think things are working as intended. The VSCode integration current looks at the workspace root for a file called What would be helpful is if we could adjust the plugin tasks to allow providing a different/custom input document. That seems like the right way to make this work more as expected (along with #26 so that its easier to see what actually was being run) In the meantime for your project you can always just make custom VSCode tasks like:
|
I filed #28 to track adding some way to provide custom input paths. |
Thanks a million for the very speedy follow up and resolution, really appreciate it @patrick-east ... I shall subscribe to #28 ;) |
I'm working on mhausenblas/eunomia/ and when I issue the query on the command line, in the respective sub-dir I get the expected result:
However, with the VSCode plug-in I get:
I tried to set
opa.roots
insettings.json
to${fileDirname}
but that didn't help either.The text was updated successfully, but these errors were encountered: