From the course: Accelerate Development with Artificial Intelligence and Cursor
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Chatting with Cursor about your code - Cursor Tutorial
From the course: Accelerate Development with Artificial Intelligence and Cursor
Chatting with Cursor about your code
- Another powerful way to work with Cursor is to use the chat system to modify your code. That gives Cursor access to multiple files as well as the terminal. I'm going to go anywhere in here and you can see the command keys to pull either chat or to generate. So far we've been using just the generation features. We're going to use the chat features, so I'm going to hit the Command key here and it's going to bring a sidebar with a place where I can ask anything. By default, it's pulling up the current file. I can take out that context if I want to, or I can go to another file. So say that I want to do something with the Modals or anywhere else, I can click add context here and I can find the file right here. Or just like before, if I want to work with the Nav, I can drag and drop it up here as well. Now it's showing me a little bit of the code and notice that I can also bring that up just with the @ sign. So I'm going to say collapse so I don't have to look at that. Chat offers a…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.