[Bug] Autocomplete Fails with Folder name that contains parentheses

Resolved 💬 3 comments Opened Sep 9, 2025 by tadeumaia Closed Sep 12, 2025

Bug Description
The auto complete of my nextjs routes that contains nested grouping () between folders name does not show up at the auto complete if I try to match any page with @page.tsx and they are inside a long path with any two (folder-name) I can't never find them on auto complete.

ex:
Typing @app/dashboardana
wont auto complete the files under
/app/(trainer)/dashboard/(fluid)/analytics/...

Example from Claude Code CLI

<img width="1464" height="632" alt="Image" src="https://github.com/user-attachments/assets/02047c2f-e665-4dc4-a312-521c85115d1a" />

Example from Codex CLI

<img width="1608" height="398" alt="Image" src="https://github.com/user-attachments/assets/e64d391d-7cdf-45a4-a2c1-0c25db0e6761" />

Example from Gemini CLI

<img width="1694" height="610" alt="Image" src="https://github.com/user-attachments/assets/61a2ab57-f4fc-4ff6-9667-4281bc022b9a" />

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 1.0.109
  • Feedback ID: ce185a8d-c569-46d3-8b44-afb1980f7642

Errors

[{"error":"Error: Could not load the \"sharp\" module using the darwin-arm64 runtime\nPossible solutions:\n- Ensure optional dependencies can be installed:\n    npm install --include=optional sharp\n- Ensure your package manager supports multi-platform installation:\n    See https://sharp.pixelplumbing.com/install#cross-platform\n- Add platform-specific dependencies:\n    npm install --os=darwin --cpu=arm64 sharp\n- Consult the installation documentation:\n    See https://sharp.pixelplumbing.com/install\n    at <anonymous> (/$bunfs/root/claude:122:38363)\n    at <anonymous> (/$bunfs/root/claude:12:838)\n    at <anonymous> (/$bunfs/root/claude:123:78)\n    at <anonymous> (/$bunfs/root/claude:12:838)\n    at <anonymous> (/$bunfs/root/claude:123:79845)\n    at <anonymous> (/$bunfs/root/claude:12:838)\n    at <anonymous> (/$bunfs/root/claude:707:1708)\n    at processTicksAndRejections (native:7:39)\n    at spawnSync (unknown)\n    at spawnSync (node:child_process:226:22)","timestamp":"2025-09-09T08:08:56.267Z"},{"error":"TypeError: (Y.default||Y) is not a function. (In '(Y.default||Y)(Z)', '(Y.default||Y)' is an instance of Object)\n    at OZ0 (/$bunfs/root/claude:707:1731)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-09-09T08:08:57.217Z"}]

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗