Cursor Opening a Directory
We can open a code file in Cursor, and opening a directory (folder) in Cursor is also a simple process with straightforward operations.
First, open the installed Cursor. When Cursor opens for the first time, you will see a project 'Open a folder' button.

In the middle area of the welcome screen, there are three core buttons:
-
Open project: Open an existing local project folder, suitable for local developers to import existing projects directly.
-
Clone repo:Clone a project directly from a Git repository; supports entering a Git repo URL to pull code with one click, which is very convenient for remote collaboration or open-source project learning.
-
Connect via SSH:Connect to a project on a remote server via SSH, which is ideal for remote development scenarios, especially debugging projects on cloud servers.
-
Recent projects:List recently opened projects.
We can also open an existing file or directory (folder). For example, if we open a 'runoob-test' directory, it will be displayed in the Explorer after opening:

Of course, you can also operate directly from the menu bar to create or open files and directories:

On the right side of the opened directory, you can create a new file, create a new directory, refresh, or collapse the directory:
