

Use TAB to insert a snippet and ESC to remove suggestions. You can browse the suggestions using ALT + ] (next snippet) or ALT + [ (previous snippet). The plugin proposes multiple code snippets based on your suggestions. The plugin detects your dependencies (React, Chakra, VueJs, etc.) and only suggests snippets matching your development environment. The Codiga plugin queries the Codiga Code Snippet engine for the snippet based on the keywords you entered.

For example, enter the following comment in a JavaScript or TypeScript file. Open WebStorm and start a comment with your search keywords. Search JavaScript/TypeScript Code Snippets in WebStorm using comments IMPORTANT: do not forget to click on Apply before testing the API connection. Under the Tools section, find the Codiga sub-section and enter your API token. Once you get the API token, enter it in WebStorm. This token will link your Codiga account with WebStorm. The hardest part is almost done! Next, let's set up your API token set up! Setup your Codiga API tokenįirst, head to Codiga and create your API token. Look for the Codiga plugin in the marketplace and click install. Go to the preferences of WebStorm first and go to the PlugIns section. Install the Codiga WebStorm Pluginįirst, install the Codiga plugin extension in WebStorm. We will illustrate how Smart Code Snippets work and illustrate it by using TypeScript with Chakra. With your team and work across different IDEs (JetBrains, VS Code, etc.). Code Snippets created with Codiga are shareable Share, search and imports code snippets in WebStorm. In this article, we present the Codiga Coding Assistant plugin for WebStorm. When writing frontend code with JavaScript or TypeScript, we often reuse the same code and components.īecause we reuse so many code blocks, we often save them as code snippets.Ĭode templates, but there is no easy way to share them with other team members or share them across IDEs.
