New in 11: Create GitHub Gists from IDE

Helo guys,

We know that many of you are keen on GitHub and use gists in your everyday work. We are excited to tell you that now you can share your code instantly from the IDE. Here is a small demo of how it works.

Open any file you want to share with others or even a selection within this file, invoke the context menu and select Create Gist… menu item.

At first you’ll be asked to login to GitHub to be able to create personal gists. The IDE stores your GitHub password inside a built-in secure password storage, so you can be asked for your master password to access the storage.

Anyway if you don’t want to use it, you’ll see the GitHub login form:

Note that even without any account on GitHub you still can create gists for instant sharing of code samples with anyone.

And here we are, enter a description, select the desired gist options and press OK to create it!

This functionality will be available in the nearest IntelliJ IDEA 11 EAP and in all IntelliJ based products. It is still under development, so it is a subject to change and improve, so your feedback and thoughts are welcome. For example, we’re thinking about a preview editor to modify your code before publishing it.

Also we have a bunch of feature requests about GitHub integration in our issue tracker. Feel free to comment and vote for them. That’s all for now. Enjoy!

Develop with pleasure!
JetBrains Team

Comments below can no longer be edited.

11 Responses to New in 11: Create GitHub Gists from IDE

  1. Avatar

    Gordon Tyler says:

    September 29, 2011

    Looks cool!

    It’s spelled “anonymous” though. 😉

  2. Avatar

    Oleg Shpynov says:

    September 29, 2011

    Thanks, it is already fixed.

  3. Avatar

    Geoffrey De Smet says:

    September 29, 2011

    Nice work 🙂 The issue tracker link seems broken, it says “cannot find keyword github”

  4. Avatar

    Oleg Shpynov says:

    September 29, 2011

    @Geoffrey De Smet,
    Thanks, fixed.

  5. Avatar

    sergei_ivanov says:

    September 30, 2011

    What LaF is that in the screenshots?
    Will IDEA11 be bundled with additional LaF choices?

  6. Avatar

    DanielJ says:

    October 2, 2011

    Why not use OAuth instead?

  7. Avatar

    Oleg Shpynov says:

    October 3, 2011

    No, this is usual GTK+ L&F with one of Ubuntu default theme.
    We’ll probably consider using OAuth in future, however we still need login name for the functionality of github plugin.

  8. Avatar

    christian ramón says:

    August 14, 2012

    It is so cool to could create GIST from Intelli J, but
    would be even cooler if It could be possible to open GIST’s.

  9. Avatar

    Roger Kappe says:

    May 9, 2014

    Great tool, Any chance this could be integrated with VCS to send a Gist with Diffs as opposed to just the current code?

  10. Avatar

    Carl M. says:

    May 9, 2017

    I can’t believe we have this since 2011 and no trace of adding a snippet for GitLab 🙁

  11. Avatar

    ron shilo says:

    November 21, 2018

    how about snippet for GitLab

Discover more