---
title: "Autocomplete"
description: "Set up autocomplete for Local Platform to speed up your algorithm development."
canonical: https://www.quantconnect.com/docs/v2/local-platform/development-environment/autocomplete
markdown: https://www.quantconnect.com/docs/v2/local-platform/development-environment/autocomplete.md
language: python
source: https://github.com/QuantConnect/Documentation/tree/master/02%20Local%20Platform/04%20Development%20Environment/06%20Autocomplete
modified: 2026-10-30
index: https://www.quantconnect.com/llms.txt
---

# Autocomplete

[Documentation](https://www.quantconnect.com/docs/v2.md) > [Local Platform](https://www.quantconnect.com/docs/v2/local-platform.md) > Development Environment > Autocomplete

> Code examples are shown in Python. Append `?lang=csharp` to this URL for the C# version of this page.

## Introduction

Intellisense is a GUI tool in your code files that shows auto-completion options and presents the members that are accessible from the current object. The tool works by searching for the statement that you're typing, given the context. You can use Intellisense to auto-complete method names and object attributes. When you use it, a pop-up displays in the IDE with the following information:

- Member type
- Member description
- The parameters that the method accepts (if the member is a method)

Use Intellisense to speed up your algorithm development. It works with all of the default class members in Lean, but it doesn't currently support class names or user-defined objects.

## Install Python Stubs

Before you use autocomplete, you may need to follow these steps to get the latest Python stubs:

1. Open Local Platform.
2. Press **F1**.
3. Enter "Python: Select Interpreter".
4. Press **Enter**.
5. If a project is open, click **Select at workspace level**.
   The Select Interpreter window shows the path to your Python executable path. It's the path next to the **star** icon.
   ![VSCode window that shows the python executable path](https://cdn.quantconnect.com/i/tu/local-platform-python-path-1.png)
6. Open a terminal and run `<pythonExecutablePath> -m pip install quantconnect-stubs`.
   ```
   $ D:\python-3.10\python.exe -m pip install quantconnect-stubs --upgrade
   ```

## Use Autocomplete

Follow these steps to use autocomplete:

1. [Open a project](https://www.quantconnect.com/docs/v2/local-platform/projects/getting-started.md#04-Open-Projects).
2. Type the first few characters of a variable, function, class, or class member that you want to autocomplete (for example, `self.set` or `SimpleMovingAverage.Upda`).
3. Press **CTRL+Space**.
   If there are class members that match the characters you provided, a list of class members displays.
   ![Autocomplete helper](https://cdn.quantconnect.com/i/tu/auto-complete.jpg)
4. Select the class member that you want to autocomplete.
   The rest of the class member name is automatically written in the code file.
