v1.7
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
Autofix
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.
‍
Type @workspace and ask questions about the entire repository synchronized via Code Context feature. Currently, Q&A in workspace only supports following programming languages: Python, TypeScript/JavaScript, Java, and C#.
Workspace questions and answers are saved in Task Status component. User can also reuse previously asked workspace-related questions in Task Status:

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 This will display a list of available predefined actions that you can 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.
/fix
/fix This code is throwing an error: @selected_code
Ask CodeVista to identify and fix the problem in the provided code that is throwing an error.
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]

Or you can easily trigger action Explain by clicking on quick action button on top of functions in current coding file:
Previous
Chat Conversation
Next
Code Context
Last Modified 1 month ago
Knowledge Base
On this page
Code TargetsPredefined Actions