Code on the Rocks
At Code on the Rocks (COTR) our mission is to enable developers to code fluently in every programming language. We create tools and resources to help you apply your high-level programming knowledge in any code base. COTR IntegrationCode on the Rocks is a social platform for developers to share, remix, and edit code snippets. This VS Code extension provides a simple command ( To use it, simply highlight the code you want to save, right-click, and select the By default, snippets will be save anonymously so a COTR account isn't required. If you'd like to save snippets to your own account, create an account on the COTR Website and then use the COTR SnippetsThis extension also provides a large list of generic snippets that can be used in any project, regardless of the language used. How does it work? Each snippet is implemented separately in each language. This means that if you are working in a TypeScript file, you will get TypeScript-specific snippets. If you are working in a Rust file, you will get Rust-specific snippets. This allows you to use the same snippet prefix in different languages and get the correct snippet for the language you are working in. Check out the official docs for more information. Supported Languages
SnippetsEach snippet has multiple aliases but you can see them all by typing the "cotr" prefix. Aliases are written in plain english and are easy to remember. For example, the
|