TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Introducing the File Finder

158 pointsby mattybover 14 years ago

14 comments

patio11over 14 years ago
This solves one of my largest annoyances when using Github as a Rails developer, namely, "Oh yay, time to walk five levels up and four levels down to find the place in the code of this gem where the function caused in the line causing the problem is actually defined."<p>Previously if I had to do it more than once I would copy the gem to disk, import to Netbeans, and then use Netbean's equivalent function. (Which I use so frequently during development I should really map it to, I dunno, tab.)
评论 #2204638 未加载
评论 #2204817 未加载
jhrobertover 14 years ago
So, a lot of small files create inconvenience and then one need a tool to navigate the mess?<p>You don't need that if you put everything in OneBigFile. Mine is 24KLOC. <a href="http://simplijs.com/OneBigFileFormat" rel="nofollow">http://simplijs.com/OneBigFileFormat</a><p>Modern editors can handle big files.<p>BTW: I'm still looking for an editor that could open multiple files in a single buffer/window.
评论 #2204050 未加载
评论 #2204113 未加载
simonwover 14 years ago
Awesome.<p>It's speedy too. I fired up Chrome Inspector and it looks like it works by Ajaxing in a full list of files in your repo the first time you hit "t", then doing the actual searching in the browser. Here's the URL it loaded for one of my projects:<p><a href="https://github.com/simonw/bugle_project/tree-list/1c7793bf60a1652c3f35eb547b2d03e14188dc36" rel="nofollow">https://github.com/simonw/bugle_project/tree-list/1c7793bf60...</a>
moeover 14 years ago
Perhaps I'm special but I've never wanted to search for a filename in a github repository. Fulltext search on the other hand, that's a feature I have missed often.
评论 #2204567 未加载
评论 #2204438 未加载
评论 #2209164 未加载
shiftbover 14 years ago
That's so awesome. I've wanted this forever.
St-Clockover 14 years ago
Next (desired) feature in the pipeline: online vim on top of github.<p>And no, I don't think Bespin/Skywriter/Ace is good enough right now.
评论 #2204616 未加载
评论 #2204566 未加载
ludwigvanover 14 years ago
For emacs, I use the following:<p>1. I create a TAGS file with exuberant <i>ctags</i> (not the default etags - note that both have a file called etags, to find out which one you have, issue `etags -v`.).<p>2. Use the <i>ido-find-file-in-tag-files</i> mentioned here: <a href="http://www.emacswiki.org/emacs/TextMate" rel="nofollow">http://www.emacswiki.org/emacs/TextMate</a> Answer 3, mapped to `C-x C-g`.<p>This might be a bad choice due to C-g, but it's close to C-x C-f, so I prefer that.
edsrzfover 14 years ago
That's a great feature for bigger projects.<p>I would love to see a similar grep-type feature, where I can quickly search through the files in a repository for text. (Yes, I know there's advanced search, but that's so disruptive to my code reading.)
ollysbover 14 years ago
Is github going to be textmate 2?
评论 #2206230 未加载
LiveTheDreamover 14 years ago
Wow, really well implemented! Normally I git clone, open the repo in vim, then use ack.<p>Github also has very good keyboard shortcuts in the Issues section. Gmail shortcut users will feel right at home.
ollysbover 14 years ago
I'm so blown away by this it makes me want to ask for another one, ack in project? :)
tonywokover 14 years ago
Oh I just want to give github the biggest bear hug. You guys rock.
dirtyhandover 14 years ago
Github just beat the internet
EGregover 14 years ago
EPIC WIN!