How to install and use Codeium and Pylance in VS Code

Based on contributions by Tijmenfeitz.

Codeium and Pylance are two Visual Studio Code extensions that speed up Python development: Codeium suggests and generates code as you type, and Pylance highlights errors in your code before you run it. Install both together for a much smoother coding workflow.

What you need

  • Visual Studio Code, downloaded from code.visualstudio.com.
  • A Google account (or any account) to sign in to Codeium, or a Codeium account created directly.

Steps

1. Install Codeium

  1. Open the Extensions tab in the sidebar of VS Code.

  2. Search for Codeium.

  3. Click Install.

  4. Create an account, or log in with your Google account, when prompted.

  5. Start typing code or a comment describing what you want. Codeium suggests a completion inline; press Tab to accept it. If you don’t like the suggestion, keep typing and it disappears.

2. Install Pylance

  1. Open the Extensions tab in the sidebar of VS Code.

  2. Search for Pylance.

  3. Click Install.

  4. Pylance now checks your Python code as you type and underlines errors before you run the script.

Related


Rewritten and consolidated (Sept 2026) from the original student how-to’s: How to: install and use Codeium & Pylance.