← Back to Development Setup

💻 Cursor IDE

Your AI-powered code editor for the course. Built on VS Code with intelligent assistance.

What is Cursor?

A modern code editor built on VS Code - same interface, enhanced with AI

AI code completion - get suggestions as you type

Built-in Jupyter support - run notebooks directly in the editor

Integrated terminal - no need to switch between apps

Why Cursor for This Course?

🤖

AI Learning Assistant

Ask questions about Python, get code explanations, and fix errors - all without leaving your editor. Perfect for learning!

📓

Jupyter Notebooks

Run course notebooks with better performance and features than Google Colab. See variables, debug code, and work offline.

🎯

Professional Tool

Learn the same IDE that professional developers use. Skills transfer directly to industry work.

All-in-One

Edit code, run notebooks, use terminal, manage Git - everything in one place with your UV environment automatically detected.

Installing Cursor

Step 1: Download Cursor

Visit the official Cursor website and download for your operating system:

Download Cursor

Step 2: Install

Mac: Open the .dmg file and drag Cursor to Applications

Windows: Run the installer .exe file

Linux: Follow the installation instructions on the download page

Step 3: Open Your Project

Navigate to your course folder in terminal and open it:

$ cd Documents/biology-python/y3-bio-python
$ cursor .

Cursor will automatically detect your .venv virtual environment!

Step 4: Install Required Extensions

You need two extensions to work with Jupyter notebooks. Cursor will usually prompt you automatically when you open a .ipynb file, but you can also install them manually:

🐍

Python Extension

Official Microsoft extension for Python support

  1. 1.Click the Extensions icon in the left sidebar (or press Cmd/Ctrl+Shift+X)
  2. 2.Search for "Python"
  3. 3.Install the one by Microsoft (it has the most downloads)
📓

Jupyter Extension

Official Microsoft extension for Jupyter notebook support

  1. 1.In the Extensions sidebar, search for "Jupyter"
  2. 2.Install the one by Microsoft
  3. 3.Restart Cursor after installation

Pro tip: When you first open a .ipynb file, Cursor will usually show a popup asking if you want to install these extensions. Just click "Install"!

Step 5: Select Python Interpreter

Tell Cursor to use your project's virtual environment:

  1. 1.Press Cmd/Ctrl+Shift+P to open the command palette
  2. 2.Type "Python: Select Interpreter"
  3. 3.Choose the one that shows .venv in the path

You only need to do this once per project!

✓ You're all set! You can now open .ipynb notebook files and start working.

Key Features You'll Use

📂 File Explorer (Left Sidebar)

Navigate through notebooks and course files. Click any .ipynb file to open it.

▶️ Run Cells

Click the play button (▶️) next to any cell to run it, or press Shift+Enter

🤖 AI Chat (Cmd/Ctrl + L)

Ask Cursor AI to explain code, fix errors, or help with exercises. It's like having a tutor built-in!

💡 Code Suggestions

As you type, Cursor suggests completions. Press Tab to accept.

⌨️ Integrated Terminal

Open with Ctrl+` to run UV commands without leaving Cursor.

💡 Quick Tips

Extensions sidebar: Click the blocks icon in the left sidebar (or Cmd/Ctrl+Shift+X) to manage extensions

Command palette: Cmd/Ctrl+Shift+P gives you access to all Cursor commands

Restart after extensions: If notebooks don't work after installing extensions, restart Cursor

Dark theme by default: Perfect for long coding sessions!

📚 Learning VS Code & Cursor

This course focuses on Python for biology - we can't cover everything about the IDE. Here are excellent resources to learn Cursor and VS Code:

📖

VS Code Official Documentation

Comprehensive guide to the editor interface, shortcuts, and features

Getting Started with VS Code
🎥

VS Code in 100 Seconds

Quick video overview of what VS Code is and why it's popular

Watch on YouTube
🎥

Cursor AI Tutorial

Learn Cursor's AI features and how to use them effectively

Watch on YouTube
📘

Complete Cursor AI Guide

Codecademy article with practical examples and tips

Read the Guide

For this course: You only need to know how to open notebooks, run cells, and use basic AI chat. The resources above are optional but highly recommended if you want to become more proficient!

🆘 Getting Help

1.Ask Cursor AI: Press Cmd/Ctrl+L and describe your problem

2.Check seminar sessions: Bring IDE questions to the practical sessions

3.Course forums: Other students might have the same questions

Remember: You don't need to be a Cursor expert to succeed in this course. Focus on learning Python!