CodeMatch
Dev tools
code snippets
SHOW HN2011
How HN took it
11 positive, 22 neutral or asking, 3 mixed, 7 critical, out of 43 comments about the project. Thread score +0.17.
Idea: 7 for, 5 againstDesign: 0 for, 2 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Productivity gain from searchable parameterized snippets inside the IDE
From 2 comments
Absolutely love: ``` 1. IDE plugin (Eclipse, Xcode + MSVS incoming) 2. Community driven snippets 3. Integrated into autocomplete ``` This approach is the trifecta of productivity…
rkalla on HNYou just increased average developer productivity tens of times. I can already see the haters hate this new easy way to "code by copy paste", but for people who just want to use…
_debug_ on HN
Community-shared snippet repository is a strong idea
From 1 comment
Absolutely love: ``` 1. IDE plugin (Eclipse, Xcode + MSVS incoming) 2. Community driven snippets 3. Integrated into autocomplete ``` This approach is the trifecta of productivity…
rkalla on HN
Objections
Copy-paste snippets encourage bad design and more code
From 3 comments
This is one of Java's biggest problems: people write tools instead of libraries. Getting the path to the Desktop should be achieved in some way other than hardcoding the word…
jrockway on HNI do think I have a better way of doing things: instead of writing snippets that people then copy and paste, write functions, methods, and modules that people can then simply…
kragen on HNMy point is that you shouldn't need snippets; where you would use a snippet, write a library instead. Adding code to your application is the worst possible thing you can do when…
jrockway on HN
Snippets may contain bugs and go stale without versioning
From 2 comments
``` 4. version-controlled snippets so you can know if there are improvements / errors ``` add that, and we're golden. But stale copy/paste code is flat-out dangerous, and that's…
Groxx on HNVery good point Groxx, my own experience with this was looking for some snippets recently and Google ended up directing me to DZone Snippets[1] for and what I found were snippets…
rkalla on HN
Only available for Eclipse so far
From 2 comments
Great idea! It's a shame it's only available for Eclipse. I would definitely make use of this if it were available as an operating system level plugin for OS X, a la TextExpander.
noonat on HNYeah, I was excited until I saw it was for Eclipse.
conradev on HN
Requests
Support for Xcode, Visual Studio, IntelliJ, Sublime, TextMate, Vim
From 5 comments
Great idea! It's a shame it's only available for Eclipse. I would definitely make use of this if it were available as an operating system level plugin for OS X, a la TextExpander.
noonat on HN... and TextMate s'il vous plaît
snorkel on HNIs IntelliJ on the road map?
jm4 on HNsublimeText?
fuzzythinker on HNI like this a lot, but I'm frustrated by not being able to browse the snippets online. Ideally this would have an online backend like StackOverflow where users could browse the…
awegawef on HN
Versioning of snippets
From 2 comments
``` 4. version-controlled snippets so you can know if there are improvements / errors ``` add that, and we're golden. But stale copy/paste code is flat-out dangerous, and that's…
Groxx on HNGood to hear :) How are you planning on tracking where snippets are used? I personally liked an idea I saw once of 'tagging' snippets with their Gist URL in a comment above the…
Groxx on HN
Browsable online snippet library and API
From 2 comments
I like this a lot, but I'm frustrated by not being able to browse the snippets online. Ideally this would have an online backend like StackOverflow where users could browse the…
awegawef on HNWill you have an API? I'd love to see integration with github's editor :)
andreyf on HN
Questions
How snippets are tracked and versioned
From 1 comment
Good to hear :) How are you planning on tracking where snippets are used? I personally liked an idea I saw once of 'tagging' snippets with their Gist URL in a comment above the…
Groxx on HN
Snippet license
From 1 comment
This is a great idea, but it would be nice to have a page on the website with a clear license of the snippets.
zszugyi on HN
Alternatives named
Emacs yasnippet and autocomplete
From 1 comment
There's probably already a dozen different ways to do this with Emacs, with context sensitivity depending on how hard you try, what language you use, and if you're prepared to…
shabble on HN
IntelliJ live templates
From 1 comment
IntelliJ already has shared template libraries, along with in-place choice / definition of the variables. What it doesnt have is the search. I'm betting that gets added shortly.
ldar15 on HN
TextMate and TextExpander
From 2 comments
Very interesting idea. I usually maintain a list of snippets that do very common processing and paste it myself. I see CodeMatch as a nice interface to access template-ized…
xtacy on HNGreat idea! It's a shame it's only available for Eclipse. I would definitely make use of this if it were available as an operating system level plugin for OS X, a la TextExpander.
noonat on HN
DZone Snippets
From 1 comment
Very good point Groxx, my own experience with this was looking for some snippets recently and Google ended up directing me to DZone Snippets[1] for and what I found were snippets…
rkalla on HN