+3
Go to line/column in file selected in find/build results
I have written a build plugin that runs JSHint on any selected JavaScript file which opens a results panel that you can navigate to the next result with F4 which selects the line/column. The problem is there doesn't seem to be a way to jump back into the original file at the line/column that is highlighted.
https://github.com/uipoet/sublime-jshint
0
Neville Bagnall 13 years ago
Is this working now/completed?
0
Cory Rustofersen 13 years ago
I'm up-voting this because it sounds like what I'd like, but I'm confused by the description.
What I want: From Find Results, double clicking on result takes you to the line in the result file, it might as well take you to the column as well. (It'd also be nice if double clicking anywhere on the result worked too, instead of only the line with the match.)
If this request is that, then consider me in.
0
uipoet 13 years ago
Neville, Yes now working via F4 and shift-F4. This may have been due to a bad regular expression in my JSHint plugin and not Sublime Text 2, itself.
Cory, Sublime Text 2 only allows jumping to the row/column with the keyboard. Double-click would be a nice feature, but this was not my original request.
0
uipoet 13 years ago
Cory, I take that back. Looks like you are able to double click the line number and have the file scroll to the correct line with the error. The cursor doesn't stay in the file though, because the double click is captured by the console. Still, pretty close to what you are looking for. If you are using any build plugins such as mine the F4/double-click will only work if they have correctly mapped file_regex and line_regex.
Customer support service by UserEcho