sublime-github icon indicating copy to clipboard operation
sublime-github copied to clipboard

Multi-file Gists

Open FichteFoll opened this issue 13 years ago • 5 comments

Multi-file Gists are really uncomfortable to use with this plugin. I can only open the "last file" in the Browser (note: this really lists the last file in the gist) while opening in the Editor would give me the first file.

I saw a "files dict in the view.settings(). I have the feeling that this allows to sync multiple files like the "whole project" or "open views" or just some manually selected files - but I have no idea where to configure this nor whether this is even possible.

I would love to be able to upload multiple files (i.e. views) to Gist. Maybe Github: Create Gist with files... and then open a popup with options like

  • *Submit - to upload the whole works when selecting multiple files manually. * is just a marker to indicate a "special item"
  • *All files in current project - would be with recursive file naming, I guess; submits automatically
  • *All open files - submits automatically
  • View: %(buffer1.filename)s - List all open files and files in project (like in the "find everywhere" prompt)
  • View: %(buffer2.filename)s
  • ...

Corresponding to that, allowing to open multiple files of a gist in the editor would be nice as well. Similar to above, only show the Gist's description in the first prompt and list the files in the second, plus *All files.

I would love that.

FichteFoll avatar Apr 29 '12 11:04 FichteFoll

+1. Also having this issue. Otherwise, love the plugin.

deanrather avatar Jun 06 '12 07:06 deanrather

Hey, sorry for not replying earlier. Just wanted you to know I'm not ignoring you. This is pretty tricky, given when I have to work with in ST2. I'll give it some thought.

bgreenlee avatar Nov 19 '12 05:11 bgreenlee

+1, multi-file functionality would be great

phillipalexander avatar Jul 17 '13 01:07 phillipalexander

Wonderful, I need this.

giiska avatar Sep 11 '14 07:09 giiska

The plugin is great! I also :+1: multi-file gists. :shipit:

trumbitta avatar Sep 11 '14 21:09 trumbitta