Cursor Creating New Files
Creating a new file in Cursor is simple; you can click 'File' in the menu baror the one on the left,'Explorer' to create one:

Open a project through the 'Explorer'; the project then has buttons to create files and directories:

Click 'New File' in the menu bar, and an empty text appears. We can enter code, press Ctrl + S to save, type the file name, and set the save directory:

To create a file via the 'Explorer' project button, a filename input box appears first; after entering the name, the file is created:

Intelligent Completion and Code Generation
Cursor has a built-in IntelliSense feature that provides intelligent completion suggestions based on context.
When we write code, such as in Python or JavaScript, Cursor predicts what we are about to type:

If we write a comment like '# calculate average', Cursor will automatically implement the function, and pressing Tab accepts the code suggested by Cursor:

If you are unfamiliar with the code and need AI to explain it, you can bring up the AI chat window with the Cmd/Ctrl + L shortcut:
