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. Example: Help me add docstrings to all functions in @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.
  • 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.
For detailed information on the /autofix and /feedback commands, please see the Autofix and Feedback System sections.
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.
  • You can easily trigger action Explain by clicking on quick action button op 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