-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Add comment syntax highlighting support #9082
Conversation
|
I only support programming languages that I think are commonly used |
767f227
to
3f360df
Compare
Can we merge these two PRs first? |
I think this is the sort of thing that should be provided by an extension. Although I think we’ll have to work out how to have extensions provide injections for languages that aren’t in the same extension. |
Going to close this, for now. At some point we can implement it in an extension, as we build out the extension capabilities. |
This would be lovely to have! |
+1, would love to see this. Any updates? |
@maxdeviant yeah extension makes sense... what features are missing in the extension APIs that are blocking doing that? Is the issue doing this in a way that doesn't need to extend each language one by one? |
From zed-industries/extensions#523 & #6013
Before:
After:
AFAIK: The #7826 will it conflict with this?Now. It only works with JS single commentThe label color need overridden it
Sample configuration, add it to
settings.json
yourself:This PR injects some commonly used languages
Release Notes: