Home Download Buy Blog Forum Support

st3_prompt_open_path

st3_prompt_open_path

Postby chrisguilbeau on Sat Apr 06, 2013 6:23 am

Screen Shot 2013-04-06 at 12.55.22 AM.png
Screen Shot 2013-04-06 at 12.55.22 AM.png (18.01 KiB) Viewed 1082 times

This plugin is for sublime text 3 and allows you to open files via the input panel instead of the os file dialogue. Besides opening a file you type, it also allows for:

tab for completion
opening folders (adds them to sidebar)

It is currently hosted on github:
https://github.com/chrisguilbeau/st3-prompt-open-path

I'll add it to the package manager once st3 moves out of beta.

Chris
chrisguilbeau
 
Posts: 19
Joined: Fri Nov 11, 2011 5:06 am

Re: st3_prompt_open_path

Postby skuroda on Sat Apr 06, 2013 5:01 pm

Looks good. An additional check you may want to do before adding a folder to the project is it's parent isn't already a part of the project. Why would this happen? I don't know, but it could, so you may want to add that. Unless that's the intended behavior in which case, ignore this. :) Oh and don't forget to remove that print statement in CompletePath.run().
skuroda
 
Posts: 687
Joined: Fri Oct 05, 2012 8:11 am

Re: st3_prompt_open_path

Postby chrisguilbeau on Sun Apr 07, 2013 12:13 am

Thanks, good tips.
chrisguilbeau
 
Posts: 19
Joined: Fri Nov 11, 2011 5:06 am

Re: st3_prompt_open_path

Postby fburleigh on Sun Apr 07, 2013 3:19 pm

chrisguilbeau wrote:This plugin is for sublime text 3 and allows you to open files via the input panel instead of the os file dialogue.
Chris


This is a *great* plugin and idea. I usually open files from a command line because I find that faster than a GUI, especially through directories on Samba shares (can be slow). It puts OS X's Finder "go" behavior (with / in an open prompt) closer to me.

Of course there are suggestions:

* Be case-insensitive. I can see an argument either way.

* If I open a directory when no project's open, act like the command line "subl ." acts (add all files in the directory to the side thing). (I never have quite got the hang of ST's project concept.)

* And I've opened a couple small issues at your git -- just some complaints I've seen in ST's console.
fburleigh
 
Posts: 23
Joined: Tue Apr 17, 2012 6:40 pm


Return to Plugin Announcements

Who is online

Users browsing this forum: No registered users and 7 guests