Cursor New File
# Cursor New File
Creating a new file in Cursor is very simple. You can click the **"File"** menu or the **"Explorer"** on the left to create one:
!(#)
By opening a project through the **"Explorer"**, you'll find buttons for creating files and directories:
!(#)
Clicking the **"New File"** option in the menu bar will open an empty text editor where you can type your code. Press Ctrl + S to save it, enter a filename, and choose a save location:
!(#)
Using the **"Explorer"** button on the project panel to create a file will first prompt you to enter a filename. After entering the name, the file will be created:
!(#)
### Intelligent Completion and Code Generation
Cursor comes with built-in IntelliSense functionality that provides smart suggestions based on context.
When writing codeβsuch as Python or JavaScriptβCursor predicts what you might want to type next:
!(#)
If you add comments like # Calculate average, Cursor will automatically help implement the function. Press Tab to accept the suggested code:
!(#)
If you're unfamiliar with certain parts of the code and need AI assistance, press Cmd/Ctrl + L to bring up the AI dialogue window:
!(#)
AI is thinking...
[](#)[Cursor @ Symbol](#)
(#)[](#)
[Volcano Engine Coding Plan supports mainstream large models such as Doubao, GLM, DeepSeek, Kimi, MiniMax, etc., offering official, stable, and reliable access. Configuration guide: Β₯9.9/month. Activate now](https://maas.xfyun.cn/modelSquare?ch=maas_lm_l2E)
YouTip