AI AI Tools Guidebook
Home AI Tool Tutorials AI Use Cases Prompt Library About
🌐 中文
Home / #Cursor

#Cursor

Articles tagged with #Cursor

AI Tool Tutorials

Cursor Rules: Write .mdc Files the Agent Actually Follows

The four Cursor rule types, .cursor/rules/*.mdc vs legacy .cursorrules vs AGENTS.md, and how to scope rules so the model obeys them. Current to June 2026.

May 24, 2026 #AI coding #Tutorial
Troubleshooting

Cursor Auto Routes a Hard Task to a Weak Model

Cursor's Auto router sends a complex refactor to a small model and you get shallow edits. Diagnose the routing signals and force the right model for hard tasks.

May 24, 2026 #Cursor #Troubleshooting
Troubleshooting

Cursor Chat or Composer History Missing After Restart

Cursor reopens with an empty chat list, only the latest thread, or stuck on 'Loading Chat'. Usually a workspace-hash change, a botched update migration, or a corrupted state.vscdb. How to recover and prevent it.

May 24, 2026 #Cursor #composer
Troubleshooting

Cursor Cmd-K Inline Edit Spinner Never Returns: Fix It

Cmd-K (Ctrl+K) spins forever or shows "Taking longer than expected…" with no diff. The fast fix: Reload Window or update Cursor. Walk the six verified causes.

May 24, 2026 #Cursor #Troubleshooting
Troubleshooting

Fix Cursor Extensions: Network Error or Empty Marketplace

Cursor's Extensions panel shows a network error, empty list, or a stuck spinner. Cursor uses Open VSX, not Microsoft's marketplace. Pick the right cause and fix it fast.

May 24, 2026 #Cursor #extensions
Troubleshooting

Cursor MCP Server Shows Disconnected or No Tools

Added an MCP server in Cursor but it stays disconnected, or no tools appear in chat. 90% of the time it's a bad PATH, a JSON typo, or a stdout leak. Diagnose and fix in five minutes.

May 24, 2026 #Cursor #mcp
Troubleshooting

Cursor Python Venv Not Detected (Wrong Interpreter)

Cursor uses system Python instead of your project venv, breaking imports, linting, and agent edits. Fix the interpreter picker, venv discovery, shell PATH, and the new Python Environments panel.

May 24, 2026 #Cursor #Troubleshooting
Troubleshooting

Cursor Settings Sync Overwrites Local Config on Another Machine

Cursor has no native Settings Sync. When a Gist-sync extension, dotfiles symlink, or cloud folder pushes stale config to a second machine, your rules, keybindings, or MCP servers get clobbered. Diagnose which sync layer did it and recover the good version.

May 24, 2026 #Cursor #Troubleshooting
Troubleshooting

Cursor SSH Remote Connection Drops Mid-Edit: 6 Fixes

Cursor's SSH Remote session disconnects while you edit, losing agent context and unsaved buffers. Fix it with the right keepalive values, and check for the v1.0.51 reconnect bug.

May 24, 2026 #Cursor #Troubleshooting
Troubleshooting

Cursor Codebase Index Stale After Rebase or Branch Switch

After a rebase or branch switch Cursor cites files and line numbers that no longer exist. The indexer fell behind your git state. Force a re-index and harden the workflow.

May 24, 2026 #Cursor #Indexing
Troubleshooting

Cursor Runs Shell Commands Without Asking (YOLO / Auto-Run)

Cursor Agent runs terminal commands with no confirmation even after you turned auto-run off. As of June 2026 it's almost always Run Mode, a wide allowlist, or a workspace permissions.json. Fix it in a minute.

May 24, 2026 #Cursor #Troubleshooting
Troubleshooting

Cursor Agent Mode: Tool Call Stuck Pending (Fix)

Cursor agent shows a spinner forever on a tool call. Nine times out of ten it is a shell command waiting on input — most often your own .zshrc. Here is the fast fix and the full diagnosis.

May 23, 2026 #Cursor #ide
Troubleshooting

Cursor Composer Loses Context Mid-Refactor

Composer started strong then forgot which file it was editing — context window blew up; chunk the refactor and recheckpoint.

May 23, 2026 #Cursor #ide
Troubleshooting

Cursor Rules Not Loading (Fix for 2026)

Composer ignores your .cursorrules or .cursor/rules. Usually a frontmatter syntax error, wrong path, deprecated format, or a glob that never matches the open file.

May 23, 2026 #Cursor #ide
Troubleshooting

Cursor Request Billing Confusion: Fast/Slow vs the New Credit Pool

Your $20 Pro credits vanish mid-month and Cursor says you've hit your limit. Here's how Cursor's usage-based billing actually works (it killed fast/slow requests in 2025) and how to stretch your quota.

May 21, 2026 #Cursor #Troubleshooting
Troubleshooting

Cursor Model List Out of Date vs Official Site

Cursor's site advertises a model but your local Settings → Models picker doesn't show it. Old client, stale cache, or staged rollout — here's how to tell which and fix it.

May 21, 2026 #Cursor #Troubleshooting
Troubleshooting

Cursor Rules Not Being Loaded (.cursorrules / .cursor/rules)

Cursor ignores your rules: legacy .cursorrules is skipped in Agent mode, a broken .mdc frontmatter is silently dropped, wrong location/extension, BOM, or a stale cache. Diagnose and fix.

May 21, 2026 #Cursor #Troubleshooting
AI Tool Tutorials

Cursor Beginner Guide: From Install to First Real Edit

Cursor's real learning curve isn't install — it's knowing when to use Tab, Inline edit (Cmd-K), Composer (Cmd-I), Chat (Cmd-L), or Agent mode. Five surfaces, four real edits, with June 2026 pricing and models.

May 17, 2026 #AI coding #Tutorial
AI Tool Tutorials

Cursor Indexing: Tune It for Speed and Accuracy

How Cursor's codebase index actually works, the .cursorignore vs .cursorindexingignore split, and the tuning loop that stops wrong-file references — verified June 2026.

May 17, 2026 #AI coding #Tutorial
Troubleshooting

Cursor "Apply" Silently Failed

You hit Apply, Cursor says it's done, but the file never changed — usually a stale snapshot, an outside edit, or a locked file.

May 17, 2026 #Troubleshooting #Cursor
Troubleshooting

Cursor Won't Apply Edits: 6 Causes and the Fix

Cursor shows a diff but Apply does nothing, fails silently, or says the apply model made no changes. Fastest fix: save all files, close other editor windows, then Reapply.

May 17, 2026 #AI coding #Debug
Troubleshooting

Fix Cursor Composer Losing Context in Large Monorepos

Composer is sharp in a small repo and loses the thread in a 50k-file monorepo. Force focus with @Files, MDC rules, and scoped tasks — not heroic re-indexing.

May 17, 2026 #Troubleshooting #Cursor
Troubleshooting

Cursor Composer Made Sweeping Wrong Edits

Composer rewrote 10+ files and broke working code. Revert fast with a Cursor checkpoint or git, then bound the prompt and mode so it stays surgical.

May 17, 2026 #Troubleshooting #Cursor
Troubleshooting

Cursor Config Conflicts with VS Code Workspace Settings

Open a team repo and Cursor's formatting or AI behavior changes? The repo's .vscode/settings.json is overriding your user settings. Here's how to find which layer won.

May 17, 2026 #Troubleshooting #Cursor
Troubleshooting

Cursor Context Panel Missing the File You Expected

The Cursor context panel skips the file you know is relevant. Fix it in 5 seconds with @, then stop it recurring: check .cursorignore, resync the index, and rename generic files.

May 17, 2026 #Troubleshooting #Cursor
Troubleshooting

Cursor Diff Too Large to Review

Composer dropped a 30-file, 2000-line diff and you can't review it honestly. Reject (or restore the checkpoint), then make Composer split it into reviewable PRs.

May 17, 2026 #Troubleshooting #Cursor
Troubleshooting

Cursor Edit Applied but Build Breaks

Composer says done and the touched files lint clean, but the build fails. The fast fix: turn on Auto-run so the agent runs typecheck + build itself before declaring success.

May 17, 2026 #Troubleshooting #Cursor
Troubleshooting

Cursor Generates Duplicate Logic Instead of Reusing Helpers

Cursor wrote a new formatDate but src/utils already has one. The existing helper never reached retrieval — here is how to make Cursor grep first and reuse it.

May 17, 2026 #Troubleshooting #Cursor
Troubleshooting

Cursor IDE State Out of Sync with Disk

Editor shows old code after an AI edit, save says "file modified externally", or AI changes silently revert — the watcher / AI-write race, and how to fix it without losing work.

May 17, 2026 #Troubleshooting #Cursor
Troubleshooting

Cursor Indexing Never Completes: 7 Causes and Fixes

Cursor's index spinner runs for hours with no progress. Usually it's a bloated repo, a missing .cursorignore, a corporate HTTP/2 proxy, symlink loops, or permissions. Here's how to find which one.

May 17, 2026 #Troubleshooting #Cursor
Troubleshooting

Cursor Missed the Full Project Context

Cursor only edits files it can see. Fix indexing scope, open the right workspace root, and pin files with @ references.

May 17, 2026 #AI coding #Debug
Troubleshooting

Cursor Chat Reads the Wrong File

You @ one file and Cursor answers about a different same-named file. Fix the @-picker, stale index, and symlink causes with full-path references and a resync.

May 17, 2026 #Troubleshooting #Cursor
Troubleshooting

Cursor Keeps Reading the Wrong Files

Cursor pulls old, vendored, or generated files into context and produces wrong patches. Fix the index, .cursorignore, and prompt pinning.

May 17, 2026 #AI coding #Debug
Troubleshooting

Cursor Suggestions Don't Match Repo Conventions

Tab and Composer use different naming / formatting / patterns than your repo — training prior beats retrieval; anchor explicitly.

May 17, 2026 #Troubleshooting #Cursor
Troubleshooting

Cursor Tab Suggestions Stopped Appearing

Grey inline completions vanished in Cursor? Re-enable Tab, check sign-in/quota, kill Copilot's keybinding, switch to HTTP/1.1, or clear the cache. Step-by-step, verified June 2026.

May 17, 2026 #Troubleshooting #Cursor
Troubleshooting

Cursor Agent Terminal Command Behaves Unexpectedly

Cursor's agent runs a shell command and gets it wrong — wrong working dir, wrong package manager, env not loaded, output truncated, or .zshrc hangs the run. Concrete fixes.

May 17, 2026 #Troubleshooting #Cursor
AI Tool Tutorials

Claude Code vs Cursor (June 2026): Which Task Belongs to Which

Claude Code is a terminal agent; Cursor is an in-editor copilot. Compare pricing, models, rollback, and task fit with current 2026 numbers and a decision sheet.

May 16, 2026 #Claude Code #Cursor
AI Tool Tutorials

Cursor for Beginners: 30 Minutes to a Working Loop (2026)

Install Cursor and ship your first useful edit in 30 minutes: Inline (Cmd+K), Composer Agent/Ask/Plan, codebase indexing, @ context, Apply, and rollback. Updated June 2026.

May 16, 2026 #Cursor #AI coding
Troubleshooting

Cursor Stuck Indexing: The .cursorignore Fix That Actually Works

Cursor stuck on Indexing or re-indexing in a loop? It's usually a build/cache directory your file watcher keeps touching. Here's the .cursorignore template, the watcherExclude fix, and how to confirm the index is healthy.

May 15, 2026 #Cursor #AI coding
AI AI Tools Guidebook

A bilingual content site focused on AI tools and digital productivity.

Navigation

  • AI Tool Tutorials
  • AI Use Cases
  • Prompt Library
  • Indie Dev & Website Building
  • Troubleshooting
  • Official Resources & Docs

Legal

  • About
  • Contact
  • Privacy
  • Terms
  • Disclaimer
  • Editorial Policy
  • Affiliate Disclosure
  • RSS Feed
© 2026 AI Tools Guidebook. All rights reserved.