Live data from Hacker News

Facebook PathPicker

facebook.github.io

121–130 of 168 posts

Re: Facebook PathPicker

#121

Hey everyone, I'm in the main engineer on this project if anyone has questions. Facebook has a large codebase, so naturally we have a lot of long filenames and paths. It's a pain to type these out by hand, so I'd see a lot of (new) engineers select the text with their mouse before pasting it into the command line. This is pretty inefficient and I knew there had to be a better way, so a few of us started hacking on a…

Do you work on developer tools at FB or was this extra-curricular?

Re: Facebook PathPicker

#122

One of the best little-known features of iTerm2 is Semantic History. Cmd-click on filenames and they will be opened by the default application (or you can configure an action to be performed). It's working directory aware and works great with all output. I connected it to Sublime and it even works with line numbers. (Same works for URLs, with the default browser)

Holy crap

Re: Facebook PathPicker

#125

This is awesome. I wonder if any of this was Emacs inspired. A very common UX in Emacs is to list things in a buffer and directly manipulate the items to execute commands. For example, in dir-mode, you can select multiple files and rename them, or mark several files for deletion and execute it. It really is a fantastic way to bring an interactive interface into a text-based world. This looks like a cool way to bring…

First thing this reminded me of was Helm in Emacs.

Re: Facebook PathPicker

#127
post #105

One of the best little-known features of iTerm2 is Semantic History. Cmd-click on filenames and they will be opened by the default application (or you can configure an action to be performed). It's working directory aware and works great with all output. I connected it to Sublime and it even works with line numbers. (Same works for URLs, with the default browser)

Wow I just posted about this[1] as some hypothetical "dream feature" but it already exists. I don't use iTerm2 (or OS X, for that matter), but I'm wondering now if other terminals support it in some way or another... [1]: https://news.ycombinator.com/item?id=9508828

This exists in a few linux terminal shells. Notably, gnome-terminal.

Re: Facebook PathPicker

#129
post #62

Going though this thread, so far we have fpp, selecta, peco, percol, numberwang, fzf... Wewh! They are all, how could we call it, command line selector tools? What I'd love to read is a nice comparative review of these tools. Although I kind of enjoy the process of going though each one and studying how the features fit my own workflow.

Well if you've gone through each then you're the best person to write a review! :-)

Re: Facebook PathPicker

#130
post #18

This looks great. Is there a streamlined install for Ubuntu?

@andyl We are working on getting a linuxbrew recipe working. There's shouldn't be anything blocking this from working on linux systems (assuming Python 2.7 is installed). In the meantime you can try the manual installation method listed in the README: https://github.com/facebook/pathpicker/ @itsbits Why do you say that? curious if you found anything

Why not actual Linux packages (DEB and RPM)?
Post reply on HN