New in 11: Create GitHub Gists from IDESeptember 29th, 2011 by Oleg Shpynov
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!