-
Notifications
You must be signed in to change notification settings - Fork 518
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
Feature; add a TODO pane #21
Comments
Does this mean that all the project files need to be parsed ? |
Not necessarily. I was thinking about showing the list from the current file. Not sure whether to update it if you switch between files (probably not). Also, I think I'll make it more generic than just TODO. You can select any text and then select "Add filter" (or something like that) and the tab will show all the lines from the current file that include that text. This way you can specify what text you may want to search for. When you move the cursor in that tab, the position in the file is also updated, so you can use it for fast navigation between your TODO lines. |
If you set the scope to the 'open' files, you need to parse them once (when opening), and only the active one after modifications. That would be a nice compromise I think. |
The IDE may already have something very similar to what you are describing: if you go to Search | Find in Files and type in "TODO", you will get a list of files with that string, including the line number and the line itself. If you double click on that line, the cursor will be positioned on that line in the file. I was thinking about something a bit more dynamic that will reflect the changes you may be making in the file(s), but if what's there is going to work for you, please let me know. |
Its indeed the more dynamic approach, I use this feature in Visual Studio a lot. I usually setup structures and as it continues fill in more and more details, every thing uncertain, or chekcs and balances left open are marked with todo. This allows make to rest assured that nothing gets lost while working at it. |
showing just a list of comments marked with TODO
The text was updated successfully, but these errors were encountered: