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

Custom language support #11

Closed
EightM opened this issue Nov 12, 2021 · 4 comments
Closed

Custom language support #11

EightM opened this issue Nov 12, 2021 · 4 comments

Comments

@EightM
Copy link

EightM commented Nov 12, 2021

Is anycode open for adding support for languages that does not include in VS code?

For example if i have some language Foo, tree-sitter-foo library and Foo syntax highlight extension, what the best way to add this language to anycode? Thanks.

@jrieken
Copy link
Member

jrieken commented Nov 15, 2021

For example if i have some language Foo, tree-sitter-foo library and Foo syntax highlight extension,

Yeah, in principle this is open for contributions but YSK that anycode isn't about syntax highlighting. I am therefore a little confused by your statement about syntax highlighting above. Anycode is about low fidelity language services features, like outline or go to definition etc

@EightM
Copy link
Author

EightM commented Nov 16, 2021

I am therefore a little confused by your statement about syntax highlighting

Oh, so i can just use two separate extension, right? In Anycode it will be tree-sitter-foo and activation event "onLanguage: Foo" and some other separate web extension will contribute new language Foo to VS code and provide its syntax highlighting

@jrieken
Copy link
Member

jrieken commented Nov 16, 2021

Yes - that should work. What language is that?

@EightM
Copy link
Author

EightM commented Nov 16, 2021

What language is that?

It's just a simple script language that is quite popular in my country.
Thanks for help!

@EightM EightM closed this as completed Nov 16, 2021
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