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

Syntax highlighting could use improvement #1950

Open
minestarks opened this issue Oct 4, 2024 · 1 comment
Open

Syntax highlighting could use improvement #1950

minestarks opened this issue Oct 4, 2024 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@minestarks
Copy link
Member

The TextMate grammar used for Q# syntax highlighting in VS Code is missing some patterns that would help the syntax highlighting look nicer.

Compare:

image

The Q# looks pretty boring in comparison to other languages with good support.

I think we can start by defining patterns for function calls and numeric literals, which are seen in these screenshots. There may be others that are interesting as well.

@minestarks minestarks added enhancement New feature or request good first issue Good for newcomers needs triage labels Oct 4, 2024
@Morcifer
Copy link

Morcifer commented Jan 2, 2025

Hi @minestarks, @sezna, can I pick this one up?

I managed to get the function (and operation) definitions working, at least. But there's a tendency here for things to get fixed in one spot and then break in another if you're not careful, so this fix might require small changes to existing patterns as well...

Image

(this comment was edited several times, sorry about that).

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

No branches or pull requests

3 participants