Logo

Elastic Copilot

Elastic Copilot Documentation

Learn how to use Elastic Copilot to accelerate your development workflow

Introduction

Elastic Copilot is a powerful VS Code extension that enhances your coding experience with AI-powered assistance. Unlike other AI coding tools, Elastic Copilot can access your terminal and file system, use a browser inside VS Code, and interact with it in real-time, showing you the process of testing and development as it happens.

Every step of development is captured, allowing you to go back and review the process at any time. This documentation will guide you through the features and capabilities of Elastic Copilot, helping you get the most out of this powerful tool.

Key Features

โŒจ๏ธ
Terminal Access

Elastic Copilot can execute terminal commands, install packages, run tests, and perform system operations to help you develop faster.

๐Ÿ“
File System Integration

Access, create, modify, and organize files and directories directly, with full understanding of your project structure.

๐ŸŒ
In-Editor Browser

Test web applications in real-time with an integrated browser that Elastic Copilot can control to demonstrate functionality.

๐Ÿ“œ
Development History

Every development step is captured, allowing you to review the process and go back to any point in time.

๐Ÿงช
Real-Time Testing

Watch as Elastic Copilot tests your code in real-time, showing you exactly how it works and identifying issues.

๐Ÿง 
Context-Aware Assistance

Elastic Copilot understands your entire project, providing suggestions and solutions that fit seamlessly with your existing code.

Getting Started

Installation

You can install Elastic Copilot directly from the VS Code marketplace:

  1. Open VS Code
  2. Go to the Extensions view (Ctrl+Shift+X / Cmd+Shift+X)
  3. Search for "Elastic Copilot"
  4. Click Install

Basic Usage

After installation, you can activate Elastic Copilot by clicking on the Elastic Copilot icon in the activity bar or using the keyboard shortcut:

Keyboard Shortcut
Ctrl+Shift+E (Windows/Linux)\nCmd+Shift+E (Mac)

Once activated, you can start a conversation with Elastic Copilot by typing in the input box. Here are some examples of what you can ask:

Examples
// Create a new React component\nCreate a responsive navigation bar component using React and CSS\n\n// Fix a bug\nHelp me fix this error: TypeError: Cannot read property 'map' of undefined\n\n// Refactor code\nRefactor this function to use async/await instead of promises\n\n// Generate tests\nWrite unit tests for this authentication service

Advanced Features

Terminal Integration

Elastic Copilot can execute terminal commands to help you with various tasks:

Examples
// Install dependencies\nInstall React and styled-components for my project\n\n// Run tests\nRun the test suite for the authentication module\n\n// Start a development server\nStart a development server for my React application

File System Access

Elastic Copilot can interact with your file system to create, modify, and organize files:

Examples
// Create a new file\nCreate a new React component called UserProfile in the components directory\n\n// Modify an existing file\nAdd form validation to the registration form in src/components/RegistrationForm.js\n\n// Organize files\nRefactor the project structure to follow the feature-based organization pattern

In-Editor Browser

Elastic Copilot includes an integrated browser that can be used to test web applications in real-time:

Examples
// Test a web application\nTest the login functionality of my web application\n\n// Demonstrate a feature\nShow me how the responsive design works on different screen sizes\n\n// Debug an issue\nHelp me debug why the form submission isn't working

Development History

Elastic Copilot captures every step of the development process, allowing you to review and go back to any point:

Examples
// View development history\nShow me the steps we took to implement the authentication system\n\n// Go back to a previous state\nRevert to the state before we refactored the database schema\n\n// Compare different approaches\nCompare the performance of the two sorting algorithms we implemented

Best Practices

To get the most out of Elastic Copilot, follow these best practices:

  1. Be specific in your requests - The more details you provide, the better Elastic Copilot can assist you.
  2. Use project context - Refer to specific files, functions, or components in your project to help Elastic Copilot understand the context.
  3. Break down complex tasks - For complex tasks, break them down into smaller, more manageable steps.
  4. Review and understand the code - Always review and understand the code that Elastic Copilot generates before integrating it into your project.
  5. Provide feedback - If Elastic Copilot's solution isn't quite right, provide feedback to help it refine its approach.

Frequently Asked Questions

Is my code secure with Elastic Copilot?

Yes, your code is secure. Elastic Copilot processes your code locally within VS Code and only sends necessary information to our servers for AI processing. We do not store your code or use it for training our models.

Does Elastic Copilot work offline?

Elastic Copilot requires an internet connection to access our AI models. However, we are working on a limited offline mode for basic functionality.

Which programming languages does Elastic Copilot support?

Elastic Copilot supports a wide range of programming languages, including JavaScript, TypeScript, Python, Java, C#, C++, Go, Ruby, PHP, Swift, Kotlin, and more. It also supports popular frameworks and libraries for these languages.

Can Elastic Copilot help with testing?

Yes, Elastic Copilot can help you write unit tests, integration tests, and end-to-end tests for your code. It can also help you run tests and analyze the results.

How does Elastic Copilot compare to other AI coding assistants?

Elastic Copilot differentiates itself with its ability to access the terminal and file system, use an in-editor browser, and capture the development history. These features provide a more comprehensive and integrated development experience compared to other AI coding assistants.

Elastic Copilot Logo

Elastic Copilot

Elastic Copilot is the best context-aware pair programmer to help you or your team with development.

LinkedIn
Telegram
X

Contact

hello@elasticcopilot.com

San Francisco, CA

ยฉ 2025 Elastic Copilot. All rights reserved.