6 ms·
Search StackOverflow and paste code snippets without leaving Sublime Text 2
- thenerdfiles 13y agoOdd. Upon reading the title I immediately thought: I'll respond first! with howdoi There's also https://github.com/jpelton/vim/blob/master/plugin/HowDoI.vim https://github.com/jpelton/vim/blob/master/plugin/HowDoI.vim.
- tartle 13y agothat actually is howdoi, just wrapped, so that you don't need to leave the edited file in Sublime Text :)
- deleted 13y ago[deleted]
- thenerdfiles 13y agoDefinitely. Less good than what you've created here. Thank you!
- thewarrior 13y agoThis should be what the future of programming looks like. The programmer only provides a high level overview and the rest of the architecture and API details should be automatically filled in. :P
- lipeno 13y agoMake this as a jetbrains plugin also :)
- lowmagnet 13y agoThis is really cool. But why type 'in php' if you're editing a .php file? I'd think Sublime could fill that bit in for you.
- tartle 13y agogood point, thanks - will change that
- rafeed 13y agoSeems pretty cool! Would this work with Sublime Text 3 too?
- jamwaffles 13y agoThis is all well and good for seasoned programmers who know what the snippet that has just been inserted does, but this is going to reduce code quality (lots of copypasta) and I have huge issue with the fact that StackOverflow answers often provide an explanation of the code, which this plugin obviously strips away. Perhaps come up with a way to add the explanation from SO as a comment to the inserted code snippet?
- orcinus 13y agoIn case someone gets stuck getting howdoi to work on Mavericks, export the libxml2 path before pip install howdoi: export C_INCLUDE_PATH=/usr/local/Cellar/libxml2/2.9.1/include/libxml2:$C_INCLUDE_PATH
- deleted 13y ago[deleted]
- hardikj 13y agoThis is really cool!! Add this to package control :)
- kazuki 13y agoIt's really cool. I developed intellij plugin inspried by this https://github.com/daisy1754/intellij-howdoi-direct-paste https://github.com/daisy1754/intellij-howdoi-direct-paste