Frequently Asked Questions
This page answers common questions about VJSP.
General Questions
How does VJSP work?
VJSP uses large language models (LLMs) to understand your requests and translate them into actions. It can:
- Read from and write to files in your project
- Execute commands in the terminal
- Browse the web (if enabled)
- Use external tools via the Model Context Protocol (MCP)
You interact with VJSP through a chat interface, where you provide instructions and review/approve its proposed actions.
Setup and Installation
How do I install VJSP?
Please refer to the VS Code Installation Guide or the IDEA Installation Guide for detailed instructions.
Can I use local models?
Yes, VJSP supports local models. See Using Local Models for instructions.
How to Log Out?
Open the plugin settings → Model Configuration, and click “Log out of VJSP AI Code” to sign out.
Usage
How do I start a new task?
Open the VJSP panel and type your task into the chat box. Clearly and specifically describe what you want VJSP to do. See Conversing with VJSP for best practices.
What modes does VJSP have?
Modes are different roles VJSP can adopt, each with specific focuses and capabilities. Built-in modes include:
- Code mode: for general coding tasks
- Architect mode: for planning and technical leadership
- Ask mode: for answering questions and providing information
- Debug mode: for systematic problem diagnosis
You can also create custom modes.
How do I switch between modes?
Use the dropdown menu in the chat input area to select a different mode, or use a / command to switch to a specific mode.
What are tools, and how do I use them?
Tools are how VJSP interacts with your system. VJSP automatically selects and uses appropriate tools to complete your tasks—you don’t need to invoke tools directly. You will be prompted to approve or reject each tool use.
What are context ?
Context are a way to provide VJSP with project-specific information, such as files, folders, or issues. Use the @ symbol followed by the item you want to mention (e.g., @/src/file.ts, @problems).
Can VJSP access the internet?
Yes, if your provider supports model-based web browsing. Be mindful of the security implications when enabling this feature.
How do I give feedback to VJSP?
You can provide feedback by approving or rejecting VJSP’s proposed actions. You can also send more detailed feedback messages directly in the VJSP chat interface.
Can I customize VJSP’s behavior?
Yes, you can customize VJSP in several ways:
- Custom instructions: Provide general instructions that apply across all modes, or mode-specific instructions
- Custom modes: Create custom modes with tailored prompts and tool permissions
.clinerulesfile: Add a.clinerulesfile in your project to provide additional guidance- Settings: Adjust various settings, such as auto-approval, diff editing, etc.
Does VJSP have auto-approval settings?
Yes, VJSP includes settings that, when enabled, will automatically approve actions. Learn more here.
What is MCP (Model Context Protocol)?
MCP is a protocol that allows VJSP to communicate with external servers, extending its capabilities through custom tools and resources.
Can I create my own MCP server?
Yes, you can build your own MCP server to add custom functionality to VJSP.
Troubleshooting
VJSP isn’t responding. What should I do?
- Check your internet connection
- Check the status of your selected API provider
- Try restarting VS Code
- If the issue persists, please report it
I’m seeing an error message. What does it mean?
The error message should provide some insight into the issue. If you’re unsure how to resolve it, please submit feedback through the platform for assistance.
VJSP made changes I didn’t want. How do I undo them?
VJSP uses VS Code’s built-in file editing features. You can use the standard “undo” command (Ctrl/Cmd + Z) to revert changes. Additionally, if experimental checkpoints are enabled, you can restore previous versions of files.
How to solve the cursor not displaying issue when using VJSP visualization function in IDEA?
Setting ide.browser.jcef.out-of-process.enabled = false can solve this problem.
Operation Steps
Completely close IDEA.
Based on your operating system, find the corresponding path (replace
<username>with your actual system username,<toolname>with IDEA or other JetBrains tool name,<version>with the software version, e.g.,IntelliJIdea2023.2):Operating System File Path Windows C:\Users\<username>\AppData\Roaming\JetBrains\<toolname><version>\options\ide.general.xmlUOS ~/home/vjsp/.config/JetBrains/<toolname><version>/options/ide.general.xmlmacOS ~/Library/Application Support/JetBrains/<toolname><version>/options/ide.general.xmlUse a text editor (such as Notepad, VS Code, etc.) to open the
ide.general.xmlfile, and find the<component name="Registry">node.If JCEF configuration already exists: If the file already contains the following content.
xml<entry key="ide.browser.jcef.enabled" value="true" />Please add or replace it with the following configuration item.
xml<entry key="ide.browser.jcef.out-of-process.enabled" value="false" source="SYSTEM" />If no JCEF configuration exists: Add the following content anywhere within the
<component name="Registry">tag.xml<entry key="ide.browser.jcef.out-of-process.enabled" value="false" source="SYSTEM" />
Save and close the ide.general.xml file.
How do I report a bug or suggest a feature?
Please report bugs or suggest features via VJSP’s Feedback section.
