LogoLogo
Sign inVisit bito.aiVideo Library
  • 👋Welcome to Bito Academy
  • 🆕Getting Started
    • Quick Overview
    • Installing on Visual Studio Code
    • Installing on JetBrain IDEs
    • Installing Chrome Extension
    • Vim/Neovim Plugin
    • Creating a Bito Account
    • Upgrading Bito Plugin
    • Bito AI Examples
  • 🛡️Privacy & Security
  • 🤖Bito Dev Agents
    • AI Code Review Agent
      • Key Features
      • Supported Programming Languages and Tools
      • Getting Started
        • Install/run Using Bito Cloud
          • Guide for GitHub
          • Guide for GitHub (Self-Managed)
          • Guide for GitLab
          • Guide for GitLab (Self-Managed)
          • Guide for Bitbucket
          • Integrate the AI Code Review Agent into the CI/CD pipeline
          • Create or customize an Agent instance
          • Clone an Agent instance
          • Delete unused Agent instances
        • Install/run as a self-hosted service
          • Prerequisites
          • CLI vs webhooks service
          • Install/run via CLI
          • Install/run via webhooks service
          • Install/run via GitHub Actions
          • Agent Configuration: bito-cra.properties File
      • Available Commands
      • Chat with AI Code Review Agent
      • Implementing custom code review rules
      • Excluding Files, Folders, or Branches with Filters
      • Code Review Analytics
      • FAQs
    • Wingman Coding Agent
      • Key features
      • Supported tools
      • Getting started
  • 🎯Feature Guides
    • AI Chat in Bito
      • Keyboard Shortcuts
      • Chat Session History
      • Share Chat Session
      • Appearance Settings
      • Open Bito in a new tab or window
    • AI that Understands Your Code
      • Overview
      • How it Works?
      • Available Keywords
      • Example Questions
      • How does Bito Understand My Code?
      • Using in Visual Studio Code
      • Using in JetBrains IDEs
      • Managing Index Size
      • FAQs
    • AI Code Completions
      • Overview
      • How it Works?
      • Enable/Disable Settings
      • Accept/Reject Suggestions
      • Keyboard Shortcuts
      • Supported Programming Languages
      • Use Cases and Examples
    • Basic/Advanced AI Models
    • Bito CLI
      • Overview
      • Install or Uninstall
      • Configuration
      • How to Use?
      • Available Commands
      • FAQs
  • 🔖Templates
    • Standard Templates
    • Custom Prompt Templates
    • Diff View
  • 🧠Bito's AI Stack
    • Embeddings
    • Vector Databases
    • Indexing
    • Generative AI
    • Large Language Models (LLM)
    • LLM Tokens
    • LLM Parameters
    • Retrieval Augmented Generation (RAG)
    • Prompts
    • Prompt Engineering
  • 👥Account & Settings
    • Workspace
    • Managing Workspace Members
    • Setting AI Output Language
    • Managing User Access Levels
    • Access Key
  • 💳Billing and Plans
    • Overview
    • Payment Methods
    • Managing Workspace Plan
    • Pay for Additional Workspace Members
    • Advanced AI Requests Usage
    • Billing History
    • Billing Details
    • Security
    • Refund Policy
    • Discounts
  • ⚒️Support & Questions
    • Getting Support
    • Troubleshooting
    • Is it GPT-4?
  • 🆕What's New
  • External Links
    • Git
    • Github Issues
    • Github Discussions
    • Bito.ai
    • VS Code Marketplace
    • JetBrain Marketplace
Powered by GitBook
LogoLogo

Bito Inc. (c) 2025

On this page
  • A Quick Example from a Real Project
  • Question # 1
  • Question # 2

Was this helpful?

Export as PDF
  1. Feature Guides
  2. AI that Understands Your Code

Using in Visual Studio Code

AI that understands your codebase in VS Code

PreviousHow does Bito Understand My Code?NextUsing in JetBrains IDEs

Last updated 13 days ago

Was this helpful?

This feature is only available for our Team Plan. Visit the or to learn more about our paid plans.

  1. Open your project’s folder using Visual Studio Code.

  2. Bito uses AI to create an of your project’s codebase. It enables Bito to understand the code and provide relevant answers. There are three ways to start the indexing process:

    • When you open a new project, a popup box will appear through which Bito asks you whether you want to enable indexing of this project or not. Click on the “Enable” button to start the indexing process. You can also skip this step by clicking the “Maybe later” button. You can always index the project later if you want.

  • In the bottom-left of Bito plug-in pane, hover your mouse cursor over this icon. You can also enable indexing from here by clicking on the “Click to enable it” text.

  • Another option is to open the "Manage Repos" tab by clicking the laptop icon in the top-right corner of the Bito plugin pane.

Bito usually takes around 12 minutes per each 10MB of code to understand your repo.

Bito will still work correctly if you don’t enable indexing of your project. However, in that case, Bito will only be able to provide general answers.

If you have previously indexed some projects using Bito then they will show in the “Other projects” section.

Index building is aborted if the user logs out or if the user's subscription is canceled (downgraded from a paid plan to a free plan).

  1. Let’s start the indexing process by using any of the above-mentioned methods.

  2. The status will now be updated to “Indexing in progress...” instead of “Not Indexed”. You will also see the real-time indexing progress for the current folder, based on the number of files indexed.

In case you close the VS Code while the indexing is in progress then don’t worry. The indexing will be paused and will automatically continue from where it left off when you reopen VS Code. Currently, the indexing will resume 5-10 minutes after reopening the IDE.

The progress indicator for the other folders is updated every 5 minutes.

  1. Once the indexing is complete, the status will be updated from “Indexing in progress...” to “Indexed”, and will look like this.

  2. Now you can ask any question regarding your codebase by adding the keyword "my code" to your AI requests in the Bito chatbox. Bito is ready to answer them!

Example: in my code explain the file apiUser.js

  1. In case you ever want to delete an index then you can do that by clicking on this three dots button and then clicking the “Delete” button.

Index deletion is allowed even if the index is in progress or in a paused state.

  1. A warning popup box will open in the bottom of Bito’s plugin pane. You can either click on the “Delete” button to delete the project’s index from your system or click on the “Cancel” button to go back.

A Quick Example from a Real Project

For the sake of this tutorial, we’ve created a simple “Music Player using JavaScript”.

Here’s how it looks:

We have added a bunch of songs to this project. The song details like name, artist, image, and the music file name are stored in a file called music-list.js

Question # 1

Let’s ask Bito to list names of all song artists used in my code

As you can see, Bito gave the correct answer by utilizing its understanding of our repository.

Similarly, we can ask any coding-related question like find bugs, improve code, add new features, etc.

Question # 2

Our music player is working fine, but we don’t have any option to mute/unmute the song.

Let’s ask Bito to add this feature.

Here’s the question I used:

In my code how can i add a button to mute and unmute the song? By default, set this button to unmute. Also, use the same design as existing buttons in UI.

After adding the code suggested by Bito, here’s how the music player looks when it starts (unmuted).

And when muted:

From here you can start the by clicking on the “Start Indexing” button. Here, you will also see the total indexable size of the repository. Read more about

Additional keywords for various languages are listed on the page. Also, here are some .

Here’s a with Bito AI. You can also for this JavaScript Music Player from GitHub or try the .

🎯
indexing process
What is Indexable Size?
Available Keywords
Example Questions
link to the conversation
download the source code
live demo
pricing page
billing documentation
index