The chat interface is like aquiring a chat by using a colleague: there’s a text box to style your dilemma or prompt at the bottom, and higher than it the discussion thread will surface. We’ll learn how to use the chat correctly in the following section.
Master Cursor's complete context system with @ symbols for precise Handle more than AI interactions.
Don’t be concerned — you could’t split anything. The interface is supposed for being starter-pleasant and also you’ll get the dangle of it with a bit of exploration. Now, let’s see how to really chat
! Here i will discuss a few newbie-friendly project Suggestions and how you can tackle them with Cursor. These illustrations will teach you how to interrupt a process into prompts and make use of the AI’s output to make a Doing work end result. Be happy to really consider these out in Cursor while you go through along.
alternative, or simply navigate towards the file by using your OS). You must see your newly developed profile website page! It very likely has placeholder text or simply a blank impression. Go ahead and edit the HTML in Cursor To place your genuine name, a url Music Lovers to an real photo (or use an with a neighborhood file In case you have a single), and serious bio textual content.
and strike Enter. The AI will reply while in the chat with a solution — In cases like this it'd clarify the print() function and show an instance. You are able to check with something programming-relevant: “Exactly what does HTML stand for?”
Cursor AI will translate the code whilst retaining its performance. 3. Generate boilerplate code: Request widespread designs by inquiring:
Check all over again: Operate This system after these modifications. Attempt undertaking several calculations. If your AI’s code music lovers had any bugs (maybe the loop logic wasn’t specifically suitable), use the same process to debug: describe The difficulty to your AI, and Permit it propose a repair.
プライバシーポリシー-プライバシーセンター-利用規約-メディアステートメント-免責事項-ヘルプ・お問い合わせ
Example: Hunting @Codebase fetch_ will return all circumstances where by features beginning with fetch_ are described or known as which allows us to easily navigate a substantial codebase.
It’s also an excellent behavior for just about any developer. You can even inquire Cursor’s AI to write dedicate messages or make clear diffs for you!
Open the Cursor chat panel (out there with the sidebar or by pressing Ctrl+L or Cmd+L), and enter the next prompt:
This function lets us quickly deliver many information by describing the structure of the applying. It really MusicLovers is ideal for initiatives that include multiple parts and wish rapid set up.
Cursor will advise optimizations and cleaner code styles. 2. Creating exam instances: Guarantee code quality by asking: