robcowie / SublimeTODO

**[DEPRECATED]** - See https://github.com/jonathandelgado/SublimeTodoReview - Extract TODO-type comments from open files and project folders
295 stars 54 forks source link

Command to go to a to do item #5

Closed kgrossjo closed 12 years ago

kgrossjo commented 12 years ago

In the list of to do items, it would be cool if I could jump to the current one with a keybinding. This would open the correct file and move point to the correct line in that file.

jimpriest commented 12 years ago

Either a keybinding or being able to click on the filename / line # (similar to how search works) would be great!

nigauw commented 12 years ago

It would really help to display the path as well as the filename and line.

hced commented 12 years ago

+1 for this. Navigating to the todo/fix items would be the killer feature.

zanematthew commented 12 years ago

Yeah I would love this feature, with out it really I can really just use the native search feature in sublime2

robcowie commented 12 years ago

Closing this as it is closely related to #6

I have a dev version with keyboard navigation through the list; (n)ext, (p)revious, (c)lear selection. The selected item is highlighted though of course that depends on your theme. Navigating to the file and line is somewhat tricky. Whatever the find in files results use, it isn't documented or obvious.

kgrossjo commented 12 years ago

Well, find in files is easy, you can do it with build systems. Any line that starts with a non-whitespace and ends with colon contains a file name. Subsequent lines that begin with whitespace, then contain a number, then a colon, that number will be the line number to go to.

This page explains how to (easily) have file name and line number on different lines: http://sublimetext.info/docs/en/reference/build_systems.html

Kai

On 18 Jan 2012, at 18:08, Rob Cowie wrote:

Closing this as it is closely related to #6

I have a dev version with keyboard navigation through the list; (n)ext, (p)revious, (c)lear selection. The selected item is highlighted though of course that depends on your theme. Navigating to the file and line is somewhat tricky. Whatever the find in files results use, it isn't documented or obvious.


Reply to this email directly or view it on GitHub: https://github.com/robcowie/SublimeTODO/issues/5#issuecomment-3549303