Autocompletion (feature in development - not ready)
CodeVista Autocompletion Feature User Guide
The Autocompletion feature in CodeVista leverages the latest language models to provide accurate and intelligent code completion suggestions as you type. This can significantly improve your coding efficiency and productivity.
Here's how to use it effectively:
1. Enabling Autocompletion
- Autocompletion is enabled by default when you install and launch the CodeVista extension in Visual Studio Code.
- No additional setup or configuration is required.
2. Triggering Autocompletion
- As you type code in your editor, CodeVista will automatically suggest completions for the current line or function you're working on.
- Autocompletion suggestions will appear in a pop-up menu or inline, depending on your Visual Studio Code settings.
3. Autocompletion Scope
- CodeVista's Autocompletion feature works across a wide range of programming languages, configuration files, and documentation formats.
- It can complete single lines of code, entire functions, or even larger code blocks, depending on the context.
- Accepting Suggestions
- In some cases, CodeVista may provide single or multiple lines autocompletion suggestions.
- To accept an autocompletion suggestion, you can either:
- Use your keyboard's arrow keys to navigate to the desired suggestion and
Tab
to insert it. - Click or tap on the suggestion in the pop-up menu or inline suggestion list.
- Use your keyboard's arrow keys to navigate to the desired suggestion and
- Integration with Other Features
- The Autocompletion feature seamlessly integrates with other CodeVista features, such as code context, web search integration, and predefined actions.
- This allows you to leverage additional context and information to enhance the accuracy and relevance of autocompletion suggestions.
- Limitations and Known Issues
- While the Autocompletion feature is highly accurate, it may occasionally make incorrect suggestions or miss certain edge cases.
- If you encounter any issues or have concerns about a suggested completion, you can always modify or discard it and continue typing manually.
By leveraging the Autocompletion feature in CodeVista, you can significantly streamline your coding workflow and save time by accepting accurate code completion suggestions as you type. Remember to review and verify the suggested completions before accepting them to ensure they align with your intended functionality.