Get started with CodeVista capabilities
1. Autocompletion (this feature is under-development)​
- CodeVista can autocomplete single lines or whole functions in any programming languages, configuration file, or documentation.
- As you type, CodeVista will suggest relevant completions powered by our state-of-the art LLM coding models. HitÂ
tab
 to apply the suggestion to your code.
2. Chat​
-
Enter your coding question or task in the chat box.For example, you can ask: "Write me a script in JavaScipt to call OpenWeather API to get latest temperature."
Image: 1.3.2.1 Chat
-
Code Targets: These are quick way you can ask for help on any text-based snippet you've highlighted. You can highlight a block of code and ask CodeVista a question:
-
TypeÂ
@selected_code
 in the prompt to include the currently selected code in your editor.For example: Write unit tests for this moduleÂ@selected_code
mage: Code Targets
-
TypeÂ
@current_file
 in the prompt to include the entire content of the current file in your editor.Example: Help me add docstrings to all functions inÂ@current_file
mage: 1.3.2.2 Current file
-
If you've uploaded files using the "Code Context" feature, you can reference them by typingÂ
@file:fileName
,Â@function:functionName
, orÂ@class:className
. Example:ÂExplain the purpose of @function:calculateTotalCost
-
3. Action Commands​
-
Type "/" to access predefined actions for common coding tasks like explain, comment, and fix.
Image: Action commands
Predefined Actions
Action Example Description /explain /explain [paste code snippet or description here] Ask CodeVista to explain the provided code snippet or concept. /fix /fix This code is throwing an error: [paste error and code here] Ask CodeVista to identify and fix the problem in the provided code that is throwing an error. /web_search /web_search [paste code snippet here] Perform a web search on the internet for the provided code snippet. Tips: You can chain a Code Target with a Predefined Action to quickly perform an action on a code snippet.
Example:Â /fixÂ
This code is throwing an error: [paste error and code here]
4. Cross-check  ​
-
After each response, click the magnifying glass icon to cross-check the key ideas against web search results.
Image: Cross-check