How to: install and use Codeium & Pylance

Codeium and Pylance are integrated extensions in Visual Studio Code, designed to significantly enhance your coding workflow. Both are easy to install and offer powerful functionality. Codeium works similarly to ChatGPT but operates directly within your script. It suggests code completions as you type and even generates code based on comments you write, speeding up the development process. Pylance, on the other hand, provides real-time error detection, highlighting issues in your code with clarity before you even run the script.

Codeium:

  1. Download and install Visual Studio Code from Download Visual Studio Tools - Install Free for Windows, Mac, Linux

  2. Go to the extensions tab on the left and search for Codeium

  3. Press install

  4. Make an account or log in with your google account.

  5. After typing a comment Codeium comes with a code suggestion which you can accept by pressing tab. If you don’t like the suggestion you can keep on typing and the suggestion will go away.
    image

Pylance:

  1. Download and install Visual Studio Code from Download Visual Studio Tools - Install Free for Windows, Mac, Linux

  2. Go to the extensions tab on the left and search for Pylance

  3. Press install

  4. Before running the code Pylance already displays the errors.

2 Likes