copy-syntax-highlight-osx
Dev tools
clipboard syntax highlighting
SHOW HN2015
copy-syntax-highlight-osx
Copy any code to clipboard in OS X, adding proper syntax highlighting
github.comHow HN took it
4 positive, 3 neutral or asking, 0 mixed, 4 critical, out of 11 comments about the project. Thread score +0.12.
Idea: 2 for, 1 againstExecution: 0 for, 3 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
Useful for pasting highlighted code into slides and documents
From 3 comments
This is soo useful!
pducks32 on HNIf only I'd known of this two months ago, when making slides in PowerPoint for a talk. I ended up doing manual syntax highlighting! –——— Somewhat relatedly, it's sometimes…
TazeTSchnitzel on HNI used "Save As HTML" on MacVim for this before, well welcomed!
igorgue on HN
Objections
Repo contains zipped service files, hiding source
From 2 comments
Zip files in the repo? Looks odd to me.
ben174 on HN> Since the services are not a single file, it is not user-friendly to download directly from the Repo if the files are not zipped. I think you're conflating two separate things,…
curun1r on HN
Essentially a thin wrapper around pygmentize
From 1 comment
There are two XML files and a PNG file in the one zip I looked into...why doesn't that work with git? Incidentally, there's also a bunch of extra Dropbox files that you probably…
curun1r on HN
Requests
Offer an add-syntax-coloring service instead of a combined copy action
From 2 comments
Nice, but why not have an "add syntax coloring" service instead?
Camillo on HNNo, you could copy and paste it, and then add highlighting after it's pasted. I guess one advantage of using a single command is that you can select, right-click the selection…
Camillo on HN
Use an ellipsis in the menu item name if a language dialog appears
From 1 comment
Just to note: if the copy action brings up a dialog requesting what language to pick, then the menu item's name should end with an ellipsis character, as according to Apple's UI…
zZorgz on HN
Questions
How the second GIF in the README was made
From 1 comment
Hi! I love this and will share it loud and proud. Could you please let me know how you created the second gif in the the README? - Mike
mholubowski on HN
Alternatives named
Coda copy with styles
From 1 comment
Incidentally, Panic's Coda [1] can do something like this as well in a slightly-more-roundabout way: paste code into it (or just write it), let Coda highlight it, then do Edit >…
Albright on HN
ClipMenu and Flycut clipboard managers
From 2 comments
Also useful: Access over a hundred previous clipboard copies & cuts with a shortcut: http://www.clipmenu.com/
hellbanner on HNFlycut[1] is a Mac-only alternative with similar functionality. [1]: https://github.com/TermiT/Flycut
srikz on HN
Paste and Match Style shortcut
From 2 comments
Use command-option-shift-V to paste without styles.
Camillo on HNYes, it works in TextEdit. It works in any application that has the Edit > Paste and Match Style ⌥⇧⌘V menu item. This command matches whatever style you’re currently using in the…
arm on HN