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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Textmate Grammar for IDE syntax highlighting #73

Open
kevinramharak opened this issue Aug 24, 2020 · 2 comments
Open

Textmate Grammar for IDE syntax highlighting #73

kevinramharak opened this issue Aug 24, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@kevinramharak
Copy link
Contributor

kevinramharak commented Aug 24, 2020

I created a barebones VS Code extension implementing syntax highlighting support at https://github.com/kevinramharak/oak-syntax-highlighting.

Most of it is based on the rust grammar, but it can easily be extended to support the language. As the syntax is diverging from rust it seemed like a good idea.

As its very experimental I have not made a release to the marketplace yet. If you wan't to use it I suggest you clone this project and put a link to the folder in your $user/.vscode/extensions/ folder.

example

@adam-mcdaniel
Copy link
Owner

Wow, this is beautiful. I'm extremely pleased with this. I wanted to write something like this myself, but I didn't know how!

@kevinramharak
Copy link
Contributor Author

It should be improved to be more generic as its a bit fixated at certain rules at the moment. But this should make it easier to write .ok programs for now. VS Code provides a fairly good documentation and yeoman templates to set up language support. Would be cool to eventually move stuff to an actual language server to provide code completion.

@adam-mcdaniel adam-mcdaniel added the enhancement New feature or request label Aug 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants