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

Comment annotations (TODO, NOTE, IMPORTANT) added to sublime-synthax. #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gorevojd
Copy link

@gorevojd gorevojd commented Dec 8, 2024

This PR will allow users to have nice TODO, NOTE, IMPORTANT keyword highlights only in comments. (only if they want)

For example: if you add this to your .tmTheme file
image

Then you'll able to see TODO comment annotation highlighted in red
image

Basically this PR detects such words in comments and marks them with some ID (for example annotation.todo). In .tmTheme files users can use this ID to set colors to those annotations.

Those can be overriden in color theme to highlight those annotations with colors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant