facelessuser wrote:I saw a post earlier today asking about a way to access favorite files that are not found in projects, and I thought that it would be a fairly easy plugin to write.
So here it is: https://github.com/facelessuser/FavoriteFiles
You can add and remove files via the command palette. And you can access your files via a quicklist with a command.
It keeps a json file in your User folder with all of your favorite files.
I just put it together, so let me know if you find any bugs or if you have any suggestions.
phillip.koebbe wrote:I *told* you you'd find something else to do
phillip.koebbe wrote:I was thinking it would be nice to be able to gather these files together in some settings file under a common name and be able to open them all at once, almost like subprojects but not quite.
facelessuser wrote:phillip.koebbe wrote:I *told* you you'd find something else to do
I didn't mean to...it just sounded like a good idea .
facelessuser wrote:phillip.koebbe wrote:I was thinking it would be nice to be able to gather these files together in some settings file under a common name and be able to open them all at once, almost like subprojects but not quite.
So you would treat the group as one entry, and when selected open all the files under the group? Would this be an optional thing? What I mean is that a group could be opened all at once or each file individually on demand or always opened as a group?
facelessuser wrote:Doesn't sound like it would be too difficult thing to add.
I would probably opt to have it work either way. Allow the creation of groups for organization (probably only one level deep, but if people really want I could make it many levels deep), but also have an "Open Favorite Group" command that would only display groups.
facelessuser wrote:I also plan to add a command that can search your favorite list and remove files no longer available.
facelessuser wrote:I will probably also make the reloading of the favorites file more robust. It really doesn't reload if someone modifies the favorites file by hand (it just does it after so long), but I probably should allow that because people will do it anyways.
I'll keep playing with it before I submit it to Package Control. Good idea though, I will try to get it in there sometime soon.
phillip.koebbe wrote:Yes, I was thinking of something pretty straightforward, like all open files in the active group can be saved under some label. I wouldn't want it too complicated, or I wouldn't use it.
phillip.koebbe wrote:Yes, definitely allow it work for saving individual files or groups. I will use both, a lot.
phillip.koebbe wrote:Good ideas. A keystroke sensitive live search like the Go Tos would be nice.
phillip.koebbe wrote:Let me know if you want a beta tester.
phillip.koebbe wrote:More forgiving is good. Really good.
phillip.koebbe wrote:I'd like to save favorites by project. Yes, I know that the original intent was to save favorites that aren't part of a project, but let me explain my thinking here. I work on one project that is sports-related and I would like to have favorite groups for seasons, leagues, teams, coaches, etc. I work on another project that has nothing to do with any of those things, and being the Type A personality that I am, I don't want to see them when they are not applicable.
phillip.koebbe wrote:On an ever-so-slightly-related note, I'd also like to have command line history that is directory-dependent. I've done some searching around and experimenting, but haven't found anything that works. If you (or anyone else) come across something that works, puh-lease let me know.
Users browsing this forum: Google [Bot] and 10 guests