Usually keep in mind that AI-produced code is a place to begin, not necessarily an excellent ultimate solution. Cursor’s recommendations may have issues or may not comply with most effective fashion methods.
Normally, you’ll have the AI produce something, and You then’ll would like to tweak it. You don’t must resolve it by hand in the event you’re not comfortable — you can ask the AI to change its output. There are 2 principal approaches:
Don’t wait to test new capabilities — they exist to make coding easier. Also, don’t be scared to implement Cursor for Mastering beyond projects: you might have common chats like “Describe the difference between Java and JavaScript”
After the AI responds, you may often proceed the conversation. When the code isn’t precisely suitable, inform the AI what’s Improper or what to boost. Such as: “That output was shut, however it didn’t contain a post button. Is it possible to insert a post button?”
choice, or merely navigate for the file through your OS). You ought to see your freshly designed profile website page! It probably has placeholder text or a blank graphic. Go ahead and edit the HTML in Cursor To place your genuine title, a hyperlink to an genuine Photograph (or use an with a neighborhood file When you have one), and authentic bio textual content.
In case you enterprise into a larger venture, consider using Git (which can be integrated into Cursor) to trace alterations. Using this method, it is possible to experiment with AI tips without having concern — you'll be able to generally revert if anything goes Mistaken.
For somebody with small coding practical experience, Cursor might be a true support. As an alternative to battling to keep in mind syntax or lookup StackOverflow, you are able to question the AI in plain English that will help you Develop features or address mistakes.
Useful purposes: 1. Debugging with normal language: When facing an error, paste the information and check with:
htmlで作ったホームページを携帯とかで見る方法はありますか?また契約やお金をかけたくはないので、出来れば無料などがいいです
Alternatively, if you have the code within the editor, spotlight the portion you want to alter and press Ctrl+K (Cmd+K). Then form an instruction like “Make this textual content bold and centred”
For example, for those who questioned for a complete game and the result isn’t ideal, consider requesting just one Element of the game first (like “make the random quantity and 1 guess iteration”). You may as musiclovers well question stick to-up in chat to right it: “That’s not what precisely I meant. I essentially needed X, could you alter the code to try and do X?”
On the proper facet, there’s an AI chat panel (it would say a little something like “Chat” or Have a very Cursor logo icon). This is where you can converse with Cursor’s AI assistant. In case you don’t see it originally, you are able to open up it by urgent Ctrl+L (Windows) or Cmd+L (Mac) — this toggles the chat sidebar.
It causes it to be easy to edit or make new code utilizing more info normal language. With just an easy shortcut, we will make alterations to our code or increase completely new functions.
The editor also supports several tabs, so you can have various files open at once (Every single file appears for a tab click here at the top with the editor panel).