cursor-indexing-issues

Featured

Troubleshoot Cursor codebase indexing: stuck indexing, empty search, @codebase failures, and performance issues. Triggers on "cursor indexing", "cursor index", "@codebase not working", "cursor search broken", "indexing stuck".

AI & Automation 2,944 stars 440 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Cursor Indexing Issues Diagnose and fix codebase indexing problems. Covers stuck indexing, empty search results, stale results, and performance optimization for large codebases. ## Quick Diagnosis | Symptom | Likely Cause | Quick Fix | |---------|-------------|-----------| | Status bar stuck on "Indexing..." | Large codebase or network issue | Add `.cursorignore`, resync | | @Codebase returns nothing | Index not built or file excluded | Wait for index, check ignore files | | @Codebase finds wrong code | Stale index | Resync index | | Indexing crashes / restarts | Memory or file watcher limits | Increase limits, reduce scope | | "Unable to index" error | Network blocked or auth expired | Check proxy/firewall, re-auth | ## Fix: Stuck Indexing ### Step 1: Reduce Scope Create or update `.cursorignore` in project root: ```gitignore # .cursorignore -- exclude non-essential directories # Build output dist/ build/ .next/ out/ target/ # Dependencies (always exclude) node_modules/ vendor/ .venv/ venv/ # Generated / large files *.min.js *.min.css *.bundle.js *.map *.lock package-lock.json yarn.lock pnpm-lock.yaml # Data files *.csv *.sql *.sqlite *.parquet *.json.gz fixtures/ # Media *.png *.jpg *.gif *.svg *.mp4 *.woff2 ``` ### Step 2: Resync Index `Cmd+Shift+P` > `Cursor: Resync Index` ### Step 3: Clear Cache (if resync fails) ```bash # macOS rm -rf ~/Library/Application\ Support/Cursor/Cache/ rm -rf ~/Library/Application\ Support/Cursor/CachedData/ # Linux rm -rf ~...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category