Make use of the built-in chat element for code support, refactor code with AI, and deliver new code snippets by describing what you would like.
Frequently, you’ll hold the AI deliver some thing, and Then you certainly’ll would like to tweak it. You don’t have to resolve it by hand when you’re not snug — you may talk to the AI to modify its output. There are two main approaches:
The docs even have a FAQ for widespread troubles, which can be helpful as You begin executing much more with Cursor.
fandomの質問。ページを荒らされたのですがもとに戻せません。戻し方を詳しくおしえてください…。
Working experience a far more effective alternative to GitHub Copilot with smarter strategies and multi-line modifying abilities.
Open it within a browser: Conserve the file and open up index.html inside your Website browser (you'll be able to ideal-click the file in Cursor and there could possibly be an “Open up in Default Browser”
Push Enter. The AI must generate a Python code snippet that: takes enter for two numbers and an operator, makes use of if/elif or maybe a match-circumstance to make your mind up how to proceed, performs the calculation, and prints the output.
This characteristic causes it to be quick to search for particular functions, classes or variables throughout our whole undertaking which aids in more quickly navigation and superior idea of Music Lovers our code.
The assistant will split it down for yourself. It would even add responses towards the code in the event you request that. Such as, “Make clear the code you just gave, and incorporate comments in the code for me.”
it wrote some thing a particular way. This will allow you to find out more as well as confirm that the answer makes sense.
Improve the method: music lovers Suppose it works for one particular calculation and then ends. Enable’s make it just a little far better by permitting the user to execute several calculations till they musiclovers elect to quit.
The AI will update the code (possible introducing a counter variable). Exchange the old code Along with the new code or maybe edit the suitable parts as guided.
Apply the code solutions from chat back again into your codebase by clicking the Participate in button along with any chat codeblock.
We can easily explain the undertaking construction or attributes we want like "Develop a Node.js app with authentication and routes" and AI will deliver the demanded documents and code, saving us time on repetitive responsibilities.