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

[PROPOSAL] Add Jule to Github Linguist #117

Open
therabug opened this issue Nov 24, 2024 · 4 comments
Open

[PROPOSAL] Add Jule to Github Linguist #117

therabug opened this issue Nov 24, 2024 · 4 comments
Labels
proposal A proposal for new feature or changings

Comments

@therabug
Copy link

Detailed description

Right now, GitHub doesn’t recognize Jule files, which means there’s no syntax highlighting for Jule code.

Adding Jule to GitHub Linguist will allow GitHub to properly highlight Jule code, making it easier to read and work with. This will help developers see the code clearly and improve collaboration. It will also make Jule more visible, helping it gain popularity and attract more contributors.

Context

Currently, Jule isn’t supported for syntax highlighting on GitHub, which makes it harder to read and work with Jule code in repositories. It will help Jule gain more visibility, encouraging more people to try it out and contribute, which could help grow the Jule community.

Possible implementation

We can:

  1. Add the .jule file extension to the languages.yml file in the Linguist repository.
  2. Set up syntax highlighting rules for Jule to match its basic syntax, similar to how other languages are handled.
  3. Test the changes using some Jule code samples to ensure the highlighting works properly.
  4. Submit a pull request to the Linguist repository so the changes can be reviewed and merged.

This process should help GitHub recognize and highlight Jule code correctly.

Additional information

No response

@therabug therabug added the proposal A proposal for new feature or changings label Nov 24, 2024
@therabug therabug changed the title Linguist: Add Jule to Github Linguist Add Jule to Github Linguist Nov 24, 2024
@mertcandav mertcandav changed the title Add Jule to Github Linguist [PROPOSAL] Add Jule to Github Linguist Nov 24, 2024
@mertcandav mertcandav moved this to Accepted in proposals Nov 24, 2024
@mertcandav
Copy link
Member

This is not a proposal that the Jule team will directly accept or reject, because it about an independent repository, but there is no harm in adding it. Therefore I mark it as "Accepted".

It is not currently possible or not a priority for official Jule developers to do it. Linguist has a development environment and ​technologies​ I'm not familiar with, so community support is needed for the necessary PR. I'll do my best to support.

Some guesses for any community member looking to implement this;

  • When adding support for Jule, it might be helpful to look at what Jule-like languages ​​do.
    For example, Go and Rust ​​are good candidates.
  • For keywords and similar things, Jule's vscode extension may help; especially this file

@therabug
Copy link
Author

This is not a proposal that the Jule team will directly accept or reject, because it about an independent repository, but there is no harm in adding it. Therefore I mark it as "Accepted".

It is not currently possible or not a priority for official Jule developers to do it. Linguist has a development environment and ​technologies​ I'm not familiar with, so community support is needed for the necessary PR. I'll do my best to support.

Some guesses for any community member looking to implement this;

  • When adding support for Jule, it might be helpful to look at what Jule-like languages ​​do.
    For example, Go and Rust ​​are good candidates.
  • For keywords and similar things, Jule's vscode extension may help; especially this file

Exactly, I opened it here just to keep it as an idea.

@adamperkowski
Copy link
Member

adamperkowski commented Dec 15, 2024

Adding support in chroma might be a good idea as well. A lot of projects use it (including WakaTime).

@mertcandav
Copy link
Member

Adding support in chroma might be a good idea as well. A lot of projects use it (including WakaTime).

I agree. It would be good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal A proposal for new feature or changings
Projects
Status: Accepted
Development

No branches or pull requests

3 participants