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

This entry was posted in New Features and tagged , , . Bookmark the permalink.

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

  1. Gordon Tyler says:

    Looks cool!

    It’s spelled “anonymous” though. 😉

  2. Oleg Shpynov says:

    Thanks, it is already fixed.

  3. Geoffrey De Smet says:

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

  4. Oleg Shpynov says:

    @Geoffrey De Smet,
    Thanks, fixed.

  5. sergei_ivanov says:

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

  6. DanielJ says:

    Why not use OAuth instead?

  7. Oleg Shpynov says:

    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. christian ramón says:

    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. Roger Kappe says:

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

  10. Carl M. says:

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

  11. ron shilo says:

    how about snippet for GitLab

Leave a Reply

Your email address will not be published. Required fields are marked *