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

Any plans on adding Sublime3 support? #8

Open
shrsv opened this issue Jan 5, 2023 · 3 comments
Open

Any plans on adding Sublime3 support? #8

shrsv opened this issue Jan 5, 2023 · 3 comments
Labels
question Further information is requested

Comments

@shrsv
Copy link

shrsv commented Jan 5, 2023

Hi, are there any plans on adding Sublime3 support? What is the technical work involved in adding support for Sublime3 exporter? (Hoping I may be able to contribute in some way towards this)

PS: Appreciate the CLI effort for iro. Seems like an awesome tool :)

@c272
Copy link
Owner

c272 commented Jan 16, 2023

Hi @shrsv, thank you for your interest in contributing to Iro! The reason that I have held off on implementing support for Sublime 3 up until now is partly because it has several ways of taking inputs for syntax highlighting, those being:

  • Textmate (.tmLanguage) files
  • Sublime's own format (.sublime-syntax)

Since Textmate is already supported in iro4cli, I didn't have the motivation at the time to write the compiler for conversion into .sublime-syntax. It would be entirely possible, and there is a well-documented specification for the syntax of it here, so it would not be out of the question at all to add support.

If I can find time to work on this in the near future, I will add support for it into the program, or, if you would like to contribute support for .sublime-syntax output that would be greatly appreciated! I hope this answers your question.

@shrsv
Copy link
Author

shrsv commented Jan 16, 2023

Hi @c272, thanks for the detailed response!

I was not aware that Sublime supports Textmate grammar format. What confused me was the "unticked" item in the README next to sublime, and I wanted to find whether there is some way to support Sublime. I think it'll benefit future users if some parts of the description you've stated above is included in the README.

Again, thanks for taking the time/effort to build this awesome tool. I've relied on it for creating syntax highlighters for my FOSS project & it works great.

@c272
Copy link
Owner

c272 commented Jan 16, 2023

No problem! And you are right, the wording in the README makes it slightly confusing as it seems to imply that Sublime is completely unsupported. I will change the wording and clarify that it's just support for the .sublime-syntax file format.

I'll keep this issue open until I've fully implemented Sublime support just in case anyone else has the same issue. Thank you!

@c272 c272 pinned this issue Jan 31, 2023
@c272 c272 added the question Further information is requested label Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants