aiux
PatternsPatternsCoursesCoursesNewsNewsResourcesResources
Overview

Setup

  • Download and Install Cursor
  • Navigate the Interface
  • Edit Code with AI Assistance

Prototype

  • Use Tab Completions
  • Chat with AI (Cmd+L)
  • Make Inline Edits (Cmd+K)
  • Build with Composer

Design-to-code

  • Convert Designs to Components
  • Build Frontend with React and Tailwind

Best Practices

  • Customize Your Workspace
  • Master Advanced Features
  • Best Practices and Team Workflows
  1. Guides
  2. /
  3. Cursor Course for Designers
  4. /
  5. Edit Code with AI Assistance
SetupLesson 3 of 12

Edit Code with AI Assistance

2 min readCursor for Designers

Now that you're comfortable in Cursor, let's learn the basics of editing code. You'll use the same tools as VS Code—but with AI magic behind the scenes.

Creating Your First File

1

Open a project folder

File → Open Folder, then select a project or create a new folder

2

Create a new file

In the left sidebar, right-click in the file explorer and select "New File"

3

Name it

Type a filename like "app.js" or "component.jsx". Cursor recognizes the file type by the extension.

4

Start typing

Start writing code. You'll see autocomplete suggestions appear.

Basic Editing Features (Just Like VS Code)

Cursor inherits all of VS Code's powerful editing features:

  • **Multi-cursor editing**: Hold Alt and click to place multiple cursors, then type once and edit multiple lines at once
  • **Find and Replace**: Cmd+F (Mac) or Ctrl+F (Windows) to find text, Cmd+H to find and replace
  • **Select code blocks**: Click the icon next to a function/class to expand/collapse it
  • **Split view**: Drag a tab to the right edge to see two files side-by-side
  • **Multiple tabs**: Open as many files as you want. Click tabs to switch between them
  • **Auto-save**: By default, files save automatically (look for the dot on the tab to see unsaved changes)

Git Integration (Version Control)

Cursor includes built-in Git support. Click the Git icon (branch symbol) in the left sidebar:

  • See which files changed (Source Control panel)
  • Stage files by clicking the + button
  • Write a commit message
  • Click the checkmark to commit
  • Push or pull from the command palette (Cmd+P)
What's Git?

Git tracks changes to your code over time. Think of it like "save history" for programming. It's essential for collaboration and backup.

Extensions (Add-ons)

Cursor uses the same VS Code extensions. Popular ones for designers include:

  • **Prettier**: Auto-formats your code to look clean
  • **ESLint**: Catches code mistakes before they cause problems
  • **Live Server**: Preview your code in a browser automatically
  • **Thunder Client**: Test APIs without leaving the editor
  • **Tailwind CSS IntelliSense**: Smart suggestions for Tailwind classes

To install extensions, click the Extensions icon (puzzle piece) on the left sidebar and search for what you need.

Editing Fundamentals Ready!

  • You can create and edit files in Cursor
  • You understand multi-cursor editing and find/replace
  • You know how to use split view to see multiple files
  • You're aware of Git for version control
  • You can install extensions to customize your environment

Great! You now have the foundation to work with code. Next, we'll explore the AI features that make Cursor special.

← Previous LessonNavigate the InterfaceNext Lesson →Use Tab Completions
← Back to Cursor Course for Designers overview

On this page

  • Creating Your First File
  • Basic Editing Features (Just Like VS Code)
  • Git Integration (Version Control)
  • Extensions (Add-ons)

aiux

AI UX patterns from shipped products. Demos, code, and real examples.

Have an idea? Share feedback

Get daily AI UX news

Resources

  • All Patterns
  • Browse Categories
  • Contribute
  • AI Interaction Toolkit
  • Agent Readability Audit
  • Newsletter
  • Documentation
  • Figma Make Prompts
  • Designer Guides
  • All Resources →

Company

  • About Us
  • Privacy Policy
  • Terms of Service
  • Contact

Links

  • Portfolio
  • GitHub
  • LinkedIn
  • More Resources

Copyright © 2026 All Rights Reserved.