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

[FEATURE] - Syntax highlight for case statement #74

Open
gkong09 opened this issue Feb 26, 2021 · 6 comments
Open

[FEATURE] - Syntax highlight for case statement #74

gkong09 opened this issue Feb 26, 2021 · 6 comments
Labels
enhancement language server Use a LSP instead of tagging

Comments

@gkong09
Copy link

gkong09 commented Feb 26, 2021

No description provided.

@alefragnani
Copy link
Owner

Hi @gkong09 ,

Could you provide more details about it?

I mean, the case statement is already highlighted, as the keywords case, of, else and end are highlighted.

Thank you

@gkong09
Copy link
Author

gkong09 commented Mar 1, 2021 via email

@alefragnani
Copy link
Owner

Hi @gkong09 ,

No screenshots available (maybe GitHub doesn’t import screenshots when comments are made by e-mail). Whenever possible, please update the screenshots, so I could take a look.

Thank you

@gkong09
Copy link
Author

gkong09 commented Mar 2, 2021

lazarus
vscode

@alefragnani
Copy link
Owner

If I understood correctly, you would like each case item (TAccuraSignal.VIDEO_SERVER_SENDER, TAccuraSignal.STATUS, etc) to be highlighted, not only the case, of, else and end keywords, right?

I’m not sure the Syntax Highlight API that VS Code provides (and the extension uses) does support this feature. I guess it would require to move to Semantic Highlight API. I’ll take a look.

Hope this helps.

@gkong09
Copy link
Author

gkong09 commented Mar 3, 2021

Yes exactly.

I understand that it may not be possible/hard to do.
Thanks for looking into this, I appreciate it!

@alefragnani alefragnani added language server Use a LSP instead of tagging and removed need more info labels May 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement language server Use a LSP instead of tagging
Projects
None yet
Development

No branches or pull requests

2 participants