IndieGoodies / PastePal

PastePal is the best universal clipboard manager for Mac, iPhone and iPad.
https://onmyway133.com/pastepal/
94 stars 2 forks source link

Support syntax highlighting for code in clipboard #21

Open jeph opened 10 months ago

jeph commented 10 months ago

Is your feature request related to a problem? Please describe. It would be cool if PastePal had syntax highlighting for code that shows up in a copied snippet. Ideally, there would be some heuristic that determines the language for syntax highlighting, but I think even just highlighting or coloring different keywords without any type of intelligent language inference would be useful too.

Describe the solution you'd like See screenshot below. I envision something similar to that. This was a feature available on Paste and I remember it was easier to find the code snippet I was looking for at a glance with it.

Describe alternatives you've considered It doesn't really solve a problem, but I think aesthetically, it's a little more visually appealing and at a glance, it makes it easier to find the snippet you're looking for.

Additional context Here's the way Paste renders code:

image