I have something really cool to share with you guys before you head off for the weekend!🕺🎉
An amazing new tool called Snipt.dev launched yesterday. It makes searching for code to re-use easier than ever.
Snipt.dev is a project by Codiga, an awesome “Grammarly for code” tool in which I’m an investor.
I briefly introduced you to Snipt.dev yesterday, but today I’m turning the blog over to creator Julien Delenge to explain what makes this tool so special:
Snipt: Search Engine for Code Snippets
We are excited to announce the release of snipt.dev, a search engine to help engineers find safe and reliable code patterns. Code Snippets are very popular for developers but the ecosystem of tools is very fragmented and not unified. Developers are often looking for snippets to use and spend hours searching on Google, StackOverflow or Sourcegraph.
To help developers find the right code snippet, we built snipt.dev: a one-stop shop for searching for code you can reuse.
But first, what is a Code Snippet?
A Code Snippet is a block of code you can share and reuse. By reusing safe and proven code, you not only improve your productivity but you also make sure you always import the correct code and are not missing anything (e.g. missing argument, not checking error code or exceptions).
By using rock-solid, proven code, you avoid many common pitfalls and mistakes developers already did. You find the correct block of code to reuse to focus on what matters: shipping code and improving a product.
Why use Code Snippets?
Writing code is quite complex and requires having a really good knowledge of the language and libraries you are using. Even with languages with lots of abstractions, it is often hard to follow the code path and understand how code actually works! Sharing and using vetted code patterns directly in your IDE maximizes your productivity but also make sure you are using the correct code block for your job!
So now, what is snipt.dev?
snipt.dev is built to be blazing fast: a request takes just a few milliseconds to come back to you. As with most search engines, results are suggested as you type, showing you the most relevant snippets for your query.
Adding your own snippets
The engine indexes and searches snippets from the Codiga platform. To add your own snippet to snipt.dev, simply add snippets on the Codiga platform: they will be automatically indexed and visible on snipt.dev. Adding snippets is very easy and can be done directly from your IDE using Codiga plugin (see VS Code, JetBrains, or Chrome plugins). You can find more information in the Contribute section of snipt.dev
snipt.dev has been designed using popular open-source libraries (NextJs, GraphQL) and it was natural for us to share this project with the community. You can find this project on GitHub. If you have any comments or issues to report, please open an issue on the GitHub project.
Pretty cool, eh? Have a great weekend everyone! 👋
If you found this post interesting, please share it on Twitter/Reddit/etc. This helps more people find the blog!
Save Money on Stuff I Use:
This platform lets me diversify my real estate investments so I’m not too exposed to any one market. I’ve invested since 2018 and returns have been great so far.
More on Fundrise in this post.
If you decide to invest in Fundrise, you can use this link to get your management fees waived for 90 days.
My wife and I have gotten organic produce shipped to our house by Misfits for over a year. It’s never once disappointed me.
Every fruit and vegetable is super fresh and packed with flavor.
I thought radishes were cold, tasteless little lumps at salad bars until I tried theirs! They’re peppery, colorful and crunchy!
I wrote a detailed review of Misfits here.
Use this link to sign up and you’ll save $10 on your first order.
One thought on “Find Code Faster Than Ever”