Describe the Bug
When using Cursor’s prompt input area with Chinese text, the “@” symbol does not trigger the expected file selection menu when inserted between Chinese characters. This prevents users from easily referencing files using the “@” functionality when working with Chinese text. The issue can be worked around by inserting spaces around the “@” symbol, but this shouldn’t be necessary.
Steps to Reproduce
- Open Cursor and navigate to the prompt input area
- Type Chinese text: “请解释这个源文件的代码” (Please explain the code of this source file)
- Position the cursor after the word “解释” (explain)
- Type “@” to attempt adding a file reference (e.g., “@App.tsx”)
- Observe that no “Files & Folders” menu appears
Expected Behavior
When typing “@” in the prompt input area, regardless of the surrounding characters (including Chinese characters), the “Files & Folders” menu should appear, allowing users to select and reference files. The “@” functionality should work consistently across different languages and character sets.
Screenshots / Screen Recordings
Operating System
Windows 10/11
MacOS
Linux
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.2.1
VSCode Version: 1.99.3
Commit: 031e7e0ff1e2eda9c1a0f5df67d44053b059c5d0
Date: 2025-07-03T06:06:37.704Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0
Does this stop you from using Cursor
No - Cursor works, but with this issue