▲ | 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? | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
▲ | james-bcn 3 days ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
VS Code GistPad extension: https://marketplace.visualstudio.com/items?itemName=vsls-con... | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
▲ | 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 :) | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
▲ | 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? | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
▲ | bko 3 days ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
I would add a link to a shareable snippet to see what it looks like | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
▲ | 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? | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
▲ | 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 | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
▲ | 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. |