condemil / gist

Sublime Text plugin for creating new Gists from selected text
MIT License
725 stars 136 forks source link

Insert Gist + auto_indent = true creates indentation problem #124

Closed cemerson closed 10 years ago

cemerson commented 10 years ago

I can't tell if anyone has mentioned this yet but I'm having same issue as mentioned by this guy: https://stackoverflow.com/questions/21066000/sublime-text-3-incorrect-indentation-when-bringing-in-gists

Inserting a gist in ST3 inserts the gist with the indentation/tabs all jacked up when auto_indent setting is true. I have to keep that setting on obviously for coding but it really makes gist insertion frustrating. Any advice/help?

gist-indents

austinstudio commented 10 years ago

Any update on this? I am getting the same thing and it is very frustrating indeed, especially if I insert a large gist.

cemerson commented 10 years ago

No update I've heard - still buggy. =/ It's like the only drawback left from migrating from ST2 to ST3 now - very annoying.

Sent from my iPad

On Mar 30, 2014, at 6:20 PM, "cdomkokao" notifications@github.com<mailto:notifications@github.com> wrote:

Any update on this? I am getting the same thing and it is very frustrating indeed, especially if I insert a large gist.

— Reply to this email directly or view it on GitHubhttps://github.com/condemil/Gist/issues/124#issuecomment-39041897.

notflip commented 10 years ago

Any news on this?

ANTON072 commented 10 years ago

Any update on this?

cemerson commented 10 years ago

I haven’t heard anything ☹

Glad I’m not alone though!

From: Katsushi OUGI [mailto:notifications@github.com] Sent: Wednesday, April 30, 2014 10:59 AM To: condemil/Gist Cc: Chris Emerson Subject: Re: [Gist] Insert Gist + auto_indent = true creates indentation problem (#124)

Any update on this?

— Reply to this email directly or view it on GitHubhttps://github.com/condemil/Gist/issues/124#issuecomment-41806716.

ashby commented 10 years ago

Yeah, please fix this! This tool would be so sweet if the indentation was right.

johngb commented 10 years ago

I have the exact same problem. For now I've just switched to github-sublime which doesn't seem to have this problem. However I'd prefer to use gist instead.

stafmans commented 10 years ago

Same issue. But it's only with inserting. Opening a Gist shows correct indentation.

dmtrmrv commented 10 years ago

Same behaviour here.

mileshillier commented 10 years ago

Yeah, please fix this! This tool would be so sweet if the indentation was right.

kevincoleman commented 10 years ago

Yep—add my name to this list. Even just adding a pref option in gist > user settings to disable auto_indent on gist inserts would be perfect.

Magnus-G commented 10 years ago

Any progress on this one? The best way I have found around it is to use Open Gist instead of inserting it, then copy/pasting. But it sure would be nice if the inserting worked.

condemil commented 10 years ago

Should be fixed now, thanks to @madastro!