v1.4
Select IDE
Visual Studio CodeIntelliJVisual Studio
Home
Blog
Knowledge Base
Download
ℹ️ Introduction
πŸ“œ Release History πŸ”₯ What's New
πŸ’» User Guide
πŸ›  Installation
πŸ†” Log In
πŸ’» Features
β–Ό
β–Ά
Chat ConversationPredefined Actions
CodeVista Streak
Code Context
Workspace Status
Autocomplete
Autodoc
Inline Chat
Web Search
Feedback System
πŸ’² Usage Quotas❗️ Instructions for Internal FPT Users
❔ FAQ
Visit xVista Homepage

Chat Conversation

The chat feature is the primary way to interact with CodeVista and leverage its AI-powered coding assistance capabilities.

Prompt Input

To begin, type your coding question, task, or command into the prompt input box.
‍
Be as specific as possible when describing the problem, desired outcome, or task you need assistance with.
‍
You can include code snippets, error messages, or any other relevant information in your prompt.
Prompt input

Save a Prompt

CodeVista allows you to save your frequently used prompts and recall them anytime to speed up your workflow and maintain consistency in your interactions with the AI Coding Assistant.

To save a prompt, hover over the submitted prompt and click the Save button:
Prompt input
In the Save Your Prompt panel, enter Prompt Name for easier recall later (for instance: Code Translate), and modify the prompt if needed before clicking Save Prompt button:
Prompt input

Reuse a Prompt

CodeVista allows you to recall your saved prompts or make use of over 50 ready-to-use prompts for common coding tasks.

To do that, you just need to access the Prompt Library by clicking the icon shown below:
Prompt input
You can sort by 2 options:
  • My Prompts: Your saved custom prompts for reuse.
  • ‍Public Prompts: Predefined by the CodeVista, available to all users.
Prompt input

My Prompts

Prompt Library allows you to save and manage your own custom prompts, enabling quick access to your frequently used queries and making your workflow more personalized and efficient.
Prompt input
Each saved prompt includes:
  • Edit: Modify the prompt content.
  • Delete: Remove the prompt from your library.
  • Use Prompt: Instantly apply the prompt in your chat input.
Prompt input
Click "Use prompt" button to insert it into the chat box:
Prompt input

Public Prompts

Prompt Library provides you with a collection of over 50 ready-to-use prompts for common coding tasks, aiming to make your coding more efficient and productive:
Prompt input
Select a prompt and click Use prompt button to insert it into the chat box.
Prompt input
Check out Prompt "Code translate" in Prompt Library for instance:
Prompt input

LLM Model Selection

You can select an AI Model from the drop-down button under the chat box.

AI Model Selection Menu

CodeVista will provide a list of advanced AI models:
  • Claude 3.7 Sonnet (Recommended for coding)
  • Claude 3.5 Sonnet
  • OpenAI GPT-4o
  • Gemini 2.5 Pro
  • Gemini 2.0 Flash
Alternatively, you can select Auto Model, and the system will automatically pick the best one based on your query.

Input Length Limits

CodeVista displays the input length of your prompt in real-time, along with the maximum input length allowed for the chosen AI model.
The input length is measured in tokens, which are roughly equivalent to words or characters, depending on the language.
Here are the maximum input length limits for different models:
Model Max Input Length (Tokens)
OpenAI GPT-4o 4096
Gemini 2.0 Flash 8192
Claude 3.5 Sonnet 8192
Claude 3.7 Sonnet 8192
Gemini 2.5 Pro 65536
If your prompt exceeds the input length limit, CodeVista will truncate the oldest messages from the context to accommodate the new input.

You can learn more about tokens and their calculation in this article from OpenAI.

By understanding and effectively using Code Context, combining predefined actions with context, and being mindful of input length limits, you can significantly enhance the quality and accuracy of the assistance provided by CodeVista.

Add Context to Chat Conversations

For further information, please refer to Code Context.

Prompt Improvement

CodeVista as well assists you input prompts by offering to enhance the questions or requests before submission.

First, type in your question or request, then click the Improve button:
CodeVista then provides user with a better, clearer and more accurate prompt. You can additionally try to modify or improve the prompt once more before sending to CodeVista.

Suggested Prompts

After each response, CodeVista may display up to three suggested prompts related to the current context. To enable this, follow steps mentioned below:
  • Access Settings >> Configurations and enable Suggest next prompts:
  • Enter and send your first coding-related question.
  • Select the icon below and click on a suggested prompt to populate it in the prompt input box for easy editing or submission.

Review Responses

After submitting your prompt, CodeVista will process it and provide a response in the chat window.
Responses may include code snippets, explanations, or suggestions related to your prompt.
If the response includes code snippets, you'll see buttons to:
  • Insert code at cursor
  • Replace selected code
  • Copy to clipboard

Conversation History

Create New Chat Conversation

Whenever you start a new conversation (by clicking the 'plus' button), the current chat content will be automatically saved.
CodeVista uses the conversation history as context for its responses, ensuring continuity and relevance. If the conversation history exceeds the model's input limit, the oldest messages will be discarded to make room for new ones.

View Chat Conversation History

To view all your conversations, click the History icon in the top-right corner of the chat window.
Your chat conversations are displayed in chronological order, with the most recent ones at the top.
They are categorized into Today, Yesterday, and Remaining conversations sections.
To find a specific conversation, use the search bar at the top.

Manage Chat Conversations

After viewing the list of chat conversations, you can rename or delete a chat by clicking the three-dot icon next to it.
CodeVista is a powerful tool, but it's essential to review and validate any code or suggestions it provides before implementing them in your projects. Additionally, be mindful of any limitations or known issues mentioned in the documentation.
Previous
Features
Next
Action Commands
Last Modified 1 month ago
Knowledge Base
On this page
Prompt InputLLM Model SelectionAdd Context to Chat ConversationsPrompt ImprovementSuggested PromptsReview ResponsesConversation History