3 ms·
What does "Go to anything" offer versus TextMate / ST2's Command-T file jump feature? As far as I can tell the two do exactly the same thing.
by acdha 15y ago
What does "Go to anything" offer versus TextMate / ST2's Command-T file jump feature? As far as I can tell the two do exactly the same thing.
- notJim 15y agoGo to anything allows you to go to methods/functions, do a find in file and go to the line in a file. For example, if I know I want the getWidgets method in Widgets_Controller, I can type Widgets Con[stop typing when the right file is at the top]@getWidgets. To find, replace the @ with a #, and to go to a line, replace the @/# with a :. I don't if TextMate does this or not, to be honest.
- acdha 15y agoAh, thanks, that's a combination of the TextMate go to file / go to symbol. I've been using Command-T/(Command-R/Control-G) in ST2 since the magic syntax for symbol or line navigation wasn't obvious.
- meatmanek 15y agoAlso ST2's go to file will do fuzzy matching on the full path, instead of just the filename. This is huge when you have a lot of files named __init__.py, for example.