Skip to content

Commit 142167f

Browse files
Fix formatting issues in cursor README
Co-authored-by: matifali <[email protected]>
1 parent 798cb1d commit 142167f

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

registry/coder/modules/cursor/README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,15 +88,18 @@ module "cursor" {
8888
## Usage
8989

9090
### Desktop IDE
91+
9192
Click the "Cursor Desktop" button in your workspace to launch Cursor IDE.
9293

9394
### CLI Agent
9495

9596
#### Web Interface
97+
9698
1. Click the "Cursor" button to access the web interface
9799
2. Start interactive sessions with text output
98100

99101
#### Terminal Usage
102+
100103
```bash
101104
# Interactive mode (default)
102105
cursor-agent
@@ -111,19 +114,21 @@ cursor-agent -p "find and fix performance issues" --output-format text
111114
cursor-agent -p "add error handling" --model "gpt-5"
112115

113116
# Session management
114-
cursor-agent ls # List all previous chats
115-
cursor-agent resume # Resume latest conversation
116-
cursor-agent --resume="chat-id" # Resume specific conversation
117+
cursor-agent ls # List all previous chats
118+
cursor-agent resume # Resume latest conversation
119+
cursor-agent --resume="chat-id" # Resume specific conversation
117120
```
118121

119122
#### Interactive Mode Features
123+
120124
- Conversational sessions with the agent
121125
- Review proposed changes before applying
122126
- Real-time guidance and steering
123127
- Text-based output optimized for terminal use
124128
- Session persistence and resumption
125129

126130
#### Non-Interactive Mode Features
131+
127132
- Automation-friendly for scripts and CI pipelines
128133
- Direct prompt execution with text output
129134
- Model selection support
@@ -132,6 +137,7 @@ cursor-agent --resume="chat-id" # Resume specific conversation
132137
## Configuration
133138

134139
The module supports the same configuration options as the Cursor CLI:
140+
135141
- **MCP (Model Context Protocol)**: Automatically detects `mcp.json` configuration
136142
- **Rules System**: Supports `.cursor/rules` directory for custom agent behavior
137143
- **Environment Variables**: Respects Cursor CLI environment settings
@@ -154,6 +160,7 @@ cursor-agent --help
154160
### Common Issues
155161

156162
1. **Cursor CLI not found**: Ensure `install_cursor_cli = true` or install manually:
163+
157164
```bash
158165
curl https://cursor.com/install -fsS | bash
159166
```

0 commit comments

Comments
 (0)