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

FR: syntax highlighting for Covariant Script #213

Open
iahung2 opened this issue Mar 25, 2024 · 5 comments
Open

FR: syntax highlighting for Covariant Script #213

iahung2 opened this issue Mar 25, 2024 · 5 comments
Assignees
Labels
enhancement New feature or request syntax highlight

Comments

@iahung2
Copy link

iahung2 commented Mar 25, 2024

The only thing they offer is this VSCode extension:

https://github.com/covscript/covscript-vscode

@SpartanJ SpartanJ self-assigned this Mar 25, 2024
@SpartanJ SpartanJ added the enhancement New feature or request label Mar 25, 2024
@SpartanJ
Copy link
Owner

Is this something you actually need or you're just asking because you think it would be cool? Because I would like to focus on helping users to get support to the languages they actually need, there are an enormous amount of niche languages out there, but it only makes sense to add support for the ones that actually our users need. So we can focus our energy and time properly. This comment goes for all the languages requested. I have no problem adding syntax highlighting for any of them, but I won't personally implement them if there is no actual need. Given that it takes time and I have limited time :)
Contributions are more than welcome, as always.

@iahung2
Copy link
Author

iahung2 commented Mar 25, 2024

Is this something you actually need or you're just asking because you think it would be cool? Because I would like to focus on helping users to get support to the languages they actually need, there are an enormous amount of niche languages out there, but it only makes sense to add support for the ones that actually our users need. So we can focus our energy and time properly. This comment goes for all the languages requested. I have no problem adding syntax highlighting for any of them, but I won't personally implement them if there is no actual need. Given that it takes time and I have limited time :) Contributions are more than welcome, as always.

Please see this thread: covscript/covscript#94

@iahung2 iahung2 closed this as completed Mar 25, 2024
@iahung2
Copy link
Author

iahung2 commented Mar 25, 2024

niche languages

Fortran and Ada are not niches. They are well-known languages. Almost all code editors support them. It feels weird if a code editor doesn't have syntax highlighting for them out of the box. This is the reason why I posted the FRs, asking you to add syntax highlighting for them. I personally don't use these languages. I don't really need support for them. I have no knowledge about them, so even porting the Lexer from TextAdept is hard for me.

Felix is a more challenging one. I like it but can never compile it from source. The developer can't help much. I can't tell if I really need it or not. But the syntax of the language is complex in my opinion. I'm also the guy who contributed the Geany syntax highlighting file for Felix to them. I have never been happy with the result. Felix is a mixture of syntax from many languages. The Geany syntax highlighting file is only a user-customized syntax highlighting file that is based on the C lexer of Scintilla. Geany uses Scintilla and Lexilla. To do accurate syntax highlighting, I will need to deal with complex C++, which I can't do. Maybe it will be easier with pattern-based syntax highlighters. Anyway, I think it will be a good reference for me to do syntax highlighting for other languages in the future. This is the reason why I posted the FR.

I don't post FRs for no reason. But since I don't really need support for these languages, I can close the FRs without much consideration!

@iahung2
Copy link
Author

iahung2 commented Mar 25, 2024

Is this something you actually need or you're just asking because you think it would be cool? Because I would like to focus on helping users to get support to the languages they actually need, there are an enormous amount of niche languages out there, but it only makes sense to add support for the ones that actually our users need. So we can focus our energy and time properly. This comment goes for all the languages requested. I have no problem adding syntax highlighting for any of them, but I won't personally implement them if there is no actual need. Given that it takes time and I have limited time :) Contributions are more than welcome, as always.

Please see this thread: covscript/covscript#94

I'm also the OP of that thread. I really like Covariant Script and it's the one that I could compile from source, unlike Felix. But I can't run VSCode. It's very laggy on my computer. The problem with Covariant Script is that it's from China. The whole ecosystem is in Chinese. I don't understand Chinese. So after consideration, I decided to drop this FR, too. I only want to let you know that I will not post a FR for no reason. I'm sorry for the lengthy text.

@SpartanJ
Copy link
Owner

Thank you very much for the detailed explanation. I was not asking to discourage you from opening tickets, I don't mind about it, feel free to open whatever you think it might help the project. I just wanted to know the reason to understand how much priority I have to give to the tickets, I want to prioritise what is needed by our users, and you are also a user, so it counts for you too. Let's reopen the tickets, they might have to wait longer but they are reasonable request and I'm not agains them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request syntax highlight
Projects
None yet
Development

No branches or pull requests

2 participants