v1.4
Select IDE
Visual Studio CodeIntelliJVisual Studio
Home
Blog
Release History
Download
โ„น๏ธ Introduction๐Ÿ›  Installation
๐Ÿ†” Log In
๐Ÿ’ป Features
Chat ConversationAction Commands
Code Context
Workspace Status
Autocomplete
Autodoc
Inline Chat
Cross-check
Web Search
Feedback System
๐Ÿ’ฒ Usage Quotasโ—๏ธ Special Instructions for Internal FPT Users
โ” FAQ
๐Ÿ”ฅ What's New
Visit Website

Action Commands

Code Targets

These are quick ways 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
Type @current_file in the prompt to include the entire content of the current file in your editor.
For example:
โ€Help me add docstrings to all functions in @current_file
If you've uploaded files using Code Context feature, you can reference them by typing @file:fileName, @function:functionName, or @class:className.

For example:
Explain the purpose of @function:calculateTotal.

Predefined Actions

CodeVista provides a set of predefined actions that allow you to perform common coding tasks or trigger specific functionalities with a single command.

To access these predefined actions, type the forward-slash character ( / ) in the prompt input box to reveal a list of predefined actions available for use.
Command
Example
Description
/web_search
/web_search @selected_code
Perform a web search on the internet for the provided code snippet.
/explain
/explain @selected_code
Ask CodeVista to explain the provided code snippet or concept.
Tips:
You can chain a Code Target with a Predefined Action to quickly perform an action on a code snippet.

For example: /fix This code is throwing an error: [paste error and code here]
Previous
Chat Conversation
Next
Code Context
Last Modified 1 month ago
Knowledge Base
On this page
Code TargetsPredefined Actions