-
Notifications
You must be signed in to change notification settings - Fork 12
Personal TODO Comment
Alistair McKinnell edited this page Sep 23, 2015
·
9 revisions
Rationale
While working on a particular feature it can be useful to leave TODO comments for yourself in the source code.
RubyMine has features that will help you by allowing you to see all of your personal TODOs and warning you when you are about to commit a personal TODO to your source code repository.
I prefer to add my initials and a creation date to each personal TODO. The initials allow the rest of the team to track me down. The creation date lets me know if an unresolved TODO is fresh or ancient.
I use personal TODO comments to keep track notes during a programming episode (or even a feature branch).
Mechanism
Preferences > Editor > TODO
Patterns
| Configuration | Value |
|---|---|
| Icon: | your choice |
| Case Sensitive: | Yes |
| Pattern: | \bARM\b.* |
Filters
| Configuration | Value |
|---|---|
| Name: | Alistair's TODOs |
| Pattern: | \bARM\b.* |