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

Improve Chapel highlight tools #5908

Open
ben-albrecht opened this issue Mar 30, 2017 · 9 comments
Open

Improve Chapel highlight tools #5908

ben-albrecht opened this issue Mar 30, 2017 · 9 comments

Comments

@ben-albrecht
Copy link
Member

ben-albrecht commented Mar 30, 2017

Below is a list of syntax highlighters Chapel supports or aims to support. Many live in the repository under chapel/highlight/.

Highlighters

Supported

In Progress

Requested

Improvements

  • [good first issue]: Document and/or fix any errors in our current syntax files
  • Test our maintained syntax files against the compiler and/or against each other
  • Find ways to minimize maintenance overhead / rely on fewer syntax highlighters
    • e.g. we could remove our tex syntax highlighting and use the minted package, which relies on pygments, for highlighting in LaTeX
  • Document and employ stricter policies for syntax changes
    • e.g. If adding a new keyword, update all highlight files
@ben-albrecht
Copy link
Member Author

Inspired by #5900

Note that this isn't a super high priority -- it hasn't been a huge time sink for the core developers so far largely because we've let our syntax files get updated organically as users and developers discover bugs. Also, the evolution of the language syntax is fairly slow and will continue to slow down as the language matures, so this should become less of an issue as time moves forward.

@lydia-duncan
Copy link
Member

Don't forget this and this!

@ben-albrecht
Copy link
Member Author

I'm marking this [easy], for the general task of reporting/fixing errors in our current syntax files.

@bradcray bradcray removed this from the Unplanned milestone Apr 4, 2017
@ben-albrecht ben-albrecht changed the title Improve maintenance of highlight tools Improve Chapel highlight tools Oct 18, 2018
@parthsarthiprasad
Copy link
Member

I know there has been considerable improvement in the field but plugin has some bugs I suppose in differentiation in string delimiters ?
image

@ben-albrecht
Copy link
Member Author

@parthsarthiprasad - which editor (and if you know, highlighter) are you using?

@parthsarthiprasad
Copy link
Member

parthsarthiprasad commented Mar 20, 2020

@parthsarthiprasad - which editor (and if you know, highlighter) are you using?

It's VSCode and using tmbundle using tmlanguage

@parthsarthiprasad
Copy link
Member

parthsarthiprasad commented Mar 20, 2020

Since I have absolutely 0 information about this , but guessing , adding a similar block with string.quoted.single will be the solution for this right ? With few other changes.
image

@ben-albrecht
Copy link
Member Author

Unfortunately, I don't have enough experience with tmbundle to make any specific suggestions myself. I would suggest trying it out and opening a PR if you are able to find a fix.

@redhatturtle
Copy link
Contributor

It would be nice to have support for GtkSourceView that's used by Meld (diff/merge tool) and presumably by some other programs.

@ben-albrecht ben-albrecht removed their assignment Feb 7, 2022
@tzinsky tzinsky removed the area: BTR label Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment