Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax highlighting bug in Polar language server #1702

Closed
craigpastro opened this issue May 11, 2023 · 2 comments
Closed

Syntax highlighting bug in Polar language server #1702

craigpastro opened this issue May 11, 2023 · 2 comments

Comments

@craigpastro
Copy link

馃憢 I am not sure if this is known already, but I copied a polar fragment from your docs into VS Code with the Oso extension installed and it complains about a misplaced "if". Seems like a bug?

Screenshot 2023-05-11 at 8 58 58 AM

@samscott89
Copy link
Member

Hey @craigpastro!

The syntax supported in Oso Cloud and the Oso library differ slightly. The role if role on "folder" syntax is only supported in Oso Cloud for now. That'll change as part of #1703, but for now you can toggle which you're using: https://www.osohq.com/docs/reference/more/ide-support#configuration

@craigpastro
Copy link
Author

Ah, I missed that. Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants