PastePal icon indicating copy to clipboard operation
PastePal copied to clipboard

Support syntax highlighting for code in clipboard

Open jeph opened this issue 1 year ago • 0 comments

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

jeph avatar Nov 13 '23 15:11 jeph