Can no longer use "/" in @file command

Describe the Bug

When I try to type the path of a file in Cursor including the folder, I am kicked out of the file dialog. As a result, I have to search only using the file name and then I have to disambiguate between 20 different files with the same name. For example, in my NextJS project I have many files named “page.tsx” It is impossible to know what file I am actually adding without knowing the full folder path.

Steps to Reproduce

Open CMD+K or CMD+I and type @file to open the file dialog. Type “folder/test”. After you type the “/” character, the dialog will automatically close.

Expected Behavior

Typing the “/” character should not close the dialog and I should be able to type the file path.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 0.43.5
VSCode Version: 1.93.1
Commit: 2eaa79a1b14ccff5d1c78a2c358a08be16a8e5a0
Date: 2024-11-27T09:11:51.854Z
Electron: 30.5.1
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Darwin arm64 24.1.0

Additional Information

This is really annoying and makes working in large scale projects basically impossible.

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, I see there’s a problem here. As a solution, try dragging the folder you need into the chat window or Composer. Does this solve your issue?

No, I do not want to add an entire folder. I only want to add a single file. I also cannot search for nested folders.

As a side note, drag and dropping files into the chat window is a massive headache in large projects, so I never do it.