Hacker News new | ask | show | jobs
by TheQwerty 3948 days ago
It's unfortunately only for Visual Studio but Microsoft created an extension called "Developer Assistant" which does precisely that using code from MSDN, StackOverflow, GitHub, and also local sources. They boast "over 21 million code samples".

http://blogs.msdn.com/b/onecode/p/devassistant.aspx

Sadly they also appear to be keeping it closed source.