Remix.run Logo
Show HN: VS Code extension to share code snippets instantly(snippetshare.dev)
27 points by petermukha 6 days ago | 20 comments

Instantly share code snippets from VS Code with shortcut. Supports all programming languages. No sign-up, no hassle. Perfect for quick code reviews, debugging, or showing off your work.

W0lfEagle 3 days ago | parent | next [-]

Something is interfering with scroll on your website. Let's please all stop letting things interfere with scrolling. This could definitely just be a personal preference but even Apple, who should be able to do it well, fills the page with scroll effects that just don't feel good. Especially on mobile which by now is the primary device for web browsing. Rant over. I'm sure it's not the authors fault and just some unnecessary code in the template. I came for the snippet share because I was intrigued. The info on the site didn't really explain what to expect. It shows me how to install it but what does it do? Put an example link maybe? Does it create an image? Does it link back to remote repo?

panchenko91 3 days ago | parent | next [-]

Thanks so much for the honest feedback- really appreciate you taking the time to share it. I’ll definitely look into the scroll behavior on mobile and clean up anything unnecessary. Also noted that the purpose of the site isn’t very clear - I’ll work on a better explanation and add a live example link.

Thanks again!!

Xss3 3 days ago | parent [-]

Did you update it already? Scrolling feels good in ff on mobile

panchenko91 3 days ago | parent [-]

Not yet, the fix is still on my to-do list. Glad to hear scrolling works well on mobile Firefox!

heckelson 3 days ago | parent | prev [-]

I see what you mean - it's like scrolling through molasses!

james-bcn 3 days ago | parent | prev | next [-]

VS Code GistPad extension: https://marketplace.visualstudio.com/items?itemName=vsls-con...

panchenko91 3 days ago | parent [-]

Yeah, GistPad is solid! I built something similar but focused more on quick sharing and a cleaner, read-only view. Simpler and faster for lightweight use cases.

LandR 3 days ago | parent | prev | next [-]

In VS Code, everything lines up. The start of the code is on the same column as the start of the comment, but in the snippetshare its tabbed in ?

https://snippetshare.dev/c/MuiWWZknPgkRGFf4bt1LAD3m2zAP5Irwp...

Nice extension, I can see me using this :)

panchenko91 3 days ago | parent | next [-]

Thanks for pointing that out! You're right - the indentation looks a bit off in SnippetShare compared to VS Code. I’ll take a look and see if we can make it match better. Appreciate the feedback!

panchenko91 3 days ago | parent | prev [-]

That bug’s been fixed - it should work correctly for new snippets now. Appreciate you catching that!

v9v 3 days ago | parent | prev | next [-]

What advantages does copying and pasting this snippet link have over copying and pasting the code? Syntax highlighting?

panchenko91 3 days ago | parent [-]

Great question! The main advantage is quick sharing with syntax highlighting and a clean read-only view. It’s also easier to reference in chats or discussions.

bko 3 days ago | parent | prev | next [-]

I would add a link to a shareable snippet to see what it looks like

nbk_2000 3 days ago | parent | next [-]

I was thinking the same. In the meantime, here you go: https://snippetshare.dev/c/aoNWbZvSlYkJtGDHnQLohY4BnHd6hGgk8...

panchenko91 3 days ago | parent | prev [-]

Thanks for the suggestion! That’s a great idea! I’ll add a sample snippet link so people can preview what it looks like without having to create one first. Appreciate the feedback!!

90s_dev 3 days ago | parent | prev | next [-]

Your website adds "discovering". How do you discover snippets with this? Is there a list of shared snippets? Or do you have to be given a specific link to see one?

panchenko91 3 days ago | parent [-]

Good point! At the moment, snippets can only be viewed if you have the link there’s no public list or explore page yet. I used “discovering” more in the sense of easily sharing and revisiting, but yeah, I get how that might sound confusing. Thanks for bringing it up!

jp1016 3 days ago | parent | prev | next [-]

i had a similar idea and created https://codekeep.io , it also has an option to generate screenshots of code https://codekeep.io/screenshot

panchenko91 3 days ago | parent [-]

Nice! Just checked out CodeKeep looks really cool, especially the screenshot feature. Love seeing different takes on the same idea!

SeanDav 3 days ago | parent | prev [-]

Teams / Slack etc allow instant code snippet sharing. As far as syntax highlighting goes - 5 seconds after someone receives your code snippet they can copy and paste into their own editor.

No need to install YAVSCE (Yet another VS Code Extension)

This in probably more a reflection of my constant journey towards KISS and in no way is meant to be disrespectful about the extension.