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

Wrap TODOs in the format JetBrains syntax highlighting expects #48

Open
abrookins opened this issue Oct 5, 2021 · 0 comments
Open

Wrap TODOs in the format JetBrains syntax highlighting expects #48

abrookins opened this issue Oct 5, 2021 · 0 comments
Assignees

Comments

@abrookins
Copy link
Owner

abrookins commented Oct 5, 2021

This is a weird one, but after several years of usage, I only just now realized that if you have a TODO like this:

TODO: Check for null values before subtracting the Bitcoin
payment on the blockchain - derp!

JetBrains only highlights (in bold, or whatever your color scheme uses) the first line. But if you do this:

TODO: Check for null values before subtracting the Bitcoin
 payment on the blockchain - derp!

They both get highlighted! If you can't see the difference, there's a one-character indent on subsequent lines. If indented thus, the lines are syntax-highlighted as part of the TODO comment.

I envision this as an opt-out change with a configuration parameter (i.e. a new parameter switched on, that you can turn off).

@abrookins abrookins self-assigned this Oct 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant