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

Highlighting the Tag #12

Open
heathflohre opened this issue Dec 10, 2020 · 7 comments
Open

Highlighting the Tag #12

heathflohre opened this issue Dec 10, 2020 · 7 comments
Labels
enhancement New feature or request

Comments

@heathflohre
Copy link

What code should be written in HTML or CSS to highlight the TODO in the sidebar?

@heathflohre
Copy link
Author

After restarting, the comments/notes are showing in the sidebar. Are they supposed to jump to the comment/note of the file when you click on them?

@heathflohre
Copy link
Author

It would be great if it highlighted the line.

@jasonplatts
Copy link
Owner

Hi @heathflohre. The extension will detect tags, when they are capitalized and ending with a colon. Alternatively, you can enclose the capitalized tag in square brackets.

Eg: "TODO:" or [TODO].

@jasonplatts
Copy link
Owner

If you double click on the tag item in the sidebar, it will open the related file and scroll to its position. In a future update, it will set the cursor position and highlight the line. This is not currently possible with the API Nova makes available.

Thanks for the suggestions. Hope this helps.

@jasonplatts jasonplatts added the enhancement New feature or request label Dec 10, 2020
@jasonplatts jasonplatts changed the title How do you add a TODO Highlighting the Tag Dec 10, 2020
@HazleMike
Copy link

Hi, this code not work for CSS in Nova 4.3?
/* TODO: hhjjhjh */

@HazleMike
Copy link

Ah sorry. Now I've read that the extension can only work with local files. That's why it didn't work. It would be very nice if the extension worked remotely too!

@jasonplatts
Copy link
Owner

Ah sorry. Now I've read that the extension can only work with local files. That's why it didn't work. It would be very nice if the extension worked remotely too!

No problem @HazleMike. Thanks for letting me know this feature would be helpful.

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

No branches or pull requests

3 participants