Cursor IDE @Folder
Issue with Python Virtual Environment)
Problem Description:
While managing a Python project in Cursor IDE, I attempted to use the @Folder
keyword to set the project root (D:/project
).
However, when using @Folder
, the virtual environment (venv/
) directory is prioritized, and it becomes difficult to view the project’s source code and other essential files directly.
Steps to Reproduce:
- Set up a Python project in
D:/project
. - Create a virtual environment using
python -m venv D:/project/venv
. - Open the project in Cursor IDE.
- Use the
@Folder
keyword in the IDE. - The files inside the
D:/project/venv
directory are shown. can’t change project root.
Expected Result:
The @Folder
command should prioritize the project root (D:/project
) and display its directories and files first, while the venv/
directory should be excluded or hidden by default.
anyidea?
regards!