Have you ever noticed a bug or typo in your code but not been in a position to fix it? Perhaps you were browsing the code online from your Cr-48, or perhaps you just didn’t have Subversion or Mercurial handy. Today the Google Project Hosting team is announcing a new feature for you: the ability to edit your source code files directly in the browser, in our online editor powered by CodeMirror. Just look for the “edit file” link on files in the online source browser: As you edit, you can preview the diff of your changes so you know exactly what you are committing:
And if you don’t have commit privileges to the project? No problem. Instead of committing your changes, you can file your changes as a patch in the project’s issue tracker.
By lowering the barrier to entry for everyone — project members and users alike — we hope to make it easier for projects to grow and improve. Enjoy!
Very cool, thank you.
ReplyDeleteSometimes the "barrier to entry" serves a real purpose. Is it possible to use this and have automatic unit-tests execute after each commit? What about honouring source-control hooks?
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteWohhoooooo!!!! No longer have to use Google Gadget Editor now :)
ReplyDeleteNow I'm gonna stop using eclipse!
ReplyDeleteWow, very cool!
ReplyDelete"Hey dawg, I put some code in your code...."
This is v. cool. I can't wait for someone to do a GWT based IDE...
ReplyDeleteIs there an online-version of eclipse?
ReplyDeleteIf so, please tell me where I can find it.
I need it to teach an Android programming class,
and half my time is wasted installing eclipse.
gpscruise@ you know
Awesome.
ReplyDeleteInteresting, let me ping github about such feature. Does anyone actually still use google project hosting?
ReplyDeleteNice! I'm still waiting for the ability to actually compile my code, like on Compilr.com.
ReplyDeleteVery cool.
ReplyDeletePlease add a link to the wiki pages that provides the same features. I know committers can already edit the wiki from the browser but users cannot. Being able to edit in this way, and submit a patch, would be great.
Super cool, now if they would just allow for git repositories on Google Code all would be well :)
ReplyDelete@carterson2 - yeah, check out eclipse orion. Build a web app in a web app!
ReplyDeleteNice feature. I wish you would add more features to make google code hosting more competitive with places like github and bitbucket
ReplyDeleteGreat feature, thanks :)
ReplyDeleteVery usefull, especially the quick patch option
ReplyDeleteI can see the barrier for entry for submitting patches dramatically lower. This is fantastic.
ReplyDeleteOooooh, and just when I thought GC was starting to lag behind the competition. Pretty please, make a solid API for this and we could set up all kinds of cool interactions with our website. Imagine how easy it will be to contribute to a JavaDoc here and there!
ReplyDeletegreat !!
ReplyDeletenice!
ReplyDeleteThis is exactly something I've been looking forward since a long time.
ReplyDeleteThis is cute, but pointless if you can't run the code you are editing. You make a change to the code and the next person to checkout finds out you broke it because tests don't run, the code isn't evaluated at all. It is shiny but has no substance.
ReplyDeleteDoes not work on iPad unfortunately!
ReplyDeleteOutput looks like crap and MobileSafari doesn't support contentEditable. Same problem as with Eclipse Orion.
Very interesting indeed. I tried it out but on the first file I edited, only the 92 first line (of 209) displayed...
ReplyDeleteUsing Firefox 3.6.13.
That is very click. Really like how if you don't have commit access it will auto submit a patch. So awesome. Great work.
ReplyDeleteBut why would anyone want to do *BLIND* edits without even having the ability to see if the whole thing compiles and passes the tests? In my opinion without the ability to compile and run tests editing in the browser will be limited to fixing localization errors.
ReplyDelete