Quick overview of functionality in Cursor:
Autocomplete with Tab
Tab is the autocomplete model we've trained in-house. It's a great way to ease into AI assisted coding if you're not used to it. With Tab, you can:
- Autocomplete multiple lines and blocks of code
- Jump in and across files to the next autocomplete suggestion
Let's try it out:
- Start typing the beginning of a function:
function calculate
- Tab suggestions appear automatically
- Press Tab to accept the suggestion
- Cursor suggests parameters and function bodies
Inline Edit a selection
- Select the function you just created
- Press
Cmd K
- Type "make this function calculate fibonacci numbers"
- Press
Returnto apply the changes
- Cursor adds imports and documentation
Chat with Agent
- Open the Chat panel (Cmd I)
- As an example you can Ask: "Add tests for this function and run them"
- Agent will create a test file, write test cases, and run them for you
Cursor Concepts - Read about all of Cursor’s Functionality here