Cody – Free AI programming tool from Sourcegraph | AI toolset
What is Cody
Cody is a program launched by the code search and browsing tool “Sourcegraph”AI code assistanthelping developers write code and answer questions by reading the entire code base and code maps. Cody uses Sourcegraph’s code graphs andLarge Language Models (LLMs)A combination to eliminate tedious tasks in manual development and maintain developer workflow.
You can think of Cody as your code assistant. This automatic programming tool has read all the code in the open source, all the questions on StackOverflow, and the developer’s entire code base, and can answer questions encountered during the development process or based on Previous knowledge suggests some approaches.
Cody’s main features
Cody is like in the code editor ChatGPTcan help you program better and faster.
- Artificial intelligence generates code. Cody can generate everything from boilerplate code to API parsers based on the context and style of your code base, and can fix errors, readability, or unhandled edge cases in code blocks.
- Automatically generate unit tests. Cody can write unit tests, freeing developers’ time to focus on building software.
- Interpret code information. Cody can explain what your code does at a high level or in detail, highlighting any block of code or an entire file to explain what’s going on in conversational language.
- Programming language translation. Developers can provide code snippets to Cody, such as a function. Cody can translate that code, providing a code snippet in another language that does the same thing.
How to use Cody
Using Cody is very simple. Currently Cody can be used on Sourcegraph’s web page and VS Code.
- Install the Cody extension for VS Code
- Open Cody (from the activity bar or Alt + / or Opt + /) and log in
- Click Chat or Recipes (some built-in commands) to use
Source link