# Code Completion

BLACKBOX AI integrates directly with VSCode to automatically suggests the next lines of code based on your repo context. BLACKBOX AIcode autocomplete is build to make developers faster while writing code.

BLACKBOX AI code autocomplete is available in 20+ programming languages including Python, JavaScript, TypeScript, Go, and Ruby

Here are the 3 simple steps to make sure you have a great experience using Blackbox

> Step 1: Open command palette (command + shift + p)

> Step 2: Click on “Enable Blackbox Autocomplete”

> Step 3: Start coding and BLACKBOX AI will provide code suggestion each time you hit Enter To validate it, you just have to press the Tab key.

<figure><img src="/files/bIzMoClDDjixQ9DeSEKN" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.blackbox.chat/blackbox-ai-1/extensions/blackbox-ai-on-vscode/vscode-extension/code-completion.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
