Get code suggestions in real time as you type in the editor, press Tab to accept a suggestion and incorporate it into your code. The suggestions are based on the contents of your current file, as well as the libraries you have imported.

To start using Double’s Autocomplete, all you need to do is start typing. Autocomplete is on by default.

If you’re migrating from Github Copilot, you can also see the side-by-side comparison with Double.

Features

Auto-import Dependencies

When an Autocomplete suggests a variable, function, or library, that has not been imported yet, it will automatically be imported when you accept the suggestion.

For cases where there is more than one matching import, Double will drop you into the Intellisense dropdown menu as soon as you accept the suggestion.

Mid-line Suggestions

Autocomplete will also make suggestions in the middle of a line when prompted with the ⌥/Alt + \ shortcut.

Naming variables

There are only two hard things in Computer Science: cache invalidation and naming things. We solved one of them.

Multi-cursor mode

Get multiple Autocomplete suggestions on different lines simultaneously. Multi-cursor mode just works.

Won’t comment on your comments

Autocomplete will not make any suggestions when you are writing comments, as to not interfere with your train of thought.


Opting out of Autocomplete

You can choose to disable Autocomplete suggestions

1

Open the Command Palette

In VS Code, open the Command Palette (Ctrl + Shift + P on Windows/Linux or ⌘ + Shift + P on Mac).

2

Search for `Dev Container: Settings`

3

Search for `Doublebot`

You can also find this in the Extensions dropdown.

4

Tick off `Enable Autocomplete`