Don't Be Misled by Build an App in 5 Minutes with Cursor
Cursor, developed by MIT students, is an AI coding tool that enhances productivity for developers through features like the Cursor Tab and inline chat, focusing on both code completion and editing.
Read original articleCursor, a coding tool developed by MIT students in 2022, has gained traction among professional developers as an alternative to GitHub Copilot. Initially perceived as a basic integration of AI chat capabilities into VSCode, Cursor has evolved to offer unique features that enhance coding efficiency. Unlike other tools that focus primarily on code completion, Cursor emphasizes both code completion and editing, allowing users to express their coding intentions through direct edits. This approach streamlines workflows, particularly for maintaining existing projects, which is a common task for developers. Cursor's standout feature, the Cursor Tab, predicts and completes code edits, significantly reducing the time spent on manual adjustments. Additionally, its inline chat functionality provides context-aware assistance, enabling multiple edits simultaneously. The tool is designed to cater to both novice and experienced developers, promoting a collaborative coding environment. Cursor's rapid iteration and understanding of developer needs position it as a formidable competitor in the AI coding assistant market, challenging established players like GitHub Copilot by offering a more intuitive and efficient coding experience.
- Cursor is designed specifically for professional developers, focusing on both code completion and editing.
- Its unique features, such as the Cursor Tab and inline chat, enhance productivity by streamlining coding workflows.
- Cursor allows for context-aware editing, enabling multiple tasks to be handled simultaneously.
- The tool is suitable for both novice and experienced developers, emphasizing collaboration and efficiency.
- Cursor's rapid development and understanding of user needs help it compete effectively against established coding assistants.
Related
Cursor – The AI Code Editor
Cursor is an AI-powered code editor that enhances developer productivity through predictive editing, natural language coding, and a focus on privacy, receiving positive feedback for its efficiency and user experience.
Code Smarter, Not Harder: Developing with Cursor and Claude Sonnet
Cursor is an AI-powered code editor that enhances software development by integrating with the Claude Sonnet 3.5 model, allowing users to generate code and reference various sources for context.
Cursorcasts: Learn how to code with AI using Cursor
Cursor is an AI-driven platform for beginners to learn coding, offering free screencasts, features like autocomplete, code editing, and project sharing, with sign-in options for personalized experiences.
Copilot vs. Cursor vs. Cody vs. Supermaven vs. Aider
Vincent Schmalbach prefers Cursor over GitHub Copilot for its effective code modification and autocomplete features, while Aider serves command-line users. Sourcegraph Cody is less reliable for code modifications.
How I write code using Cursor
Cursor is a coding tool that enhances productivity in Visual Studio Code with features like tab completion and inline editing. Despite some limitations, it positively impacts coding workflows and experimentation.
I can completely understand why they forked VSCode (deeper integration) and I can see how that lets them move faster but giving up all the tools in IDEA is a non-starter currently. Obviously at some point the balance will shift but I'm hoping that Aider/Jetbrains AI/other can turn the tide back into IDEA's favor.
That's where I think JetBrains AI will be beneficial. I know it isn't great with its first iteration, but knowing JetBrains I'm sure they'll improve. When we have VERY large projects, the need is so much greater. Having an AI that understands the AST constraints and can leverage IDE capabilities would be fantastic.
I'm working on something which lets non-technical people create applications and it works. A design decision has been to never expose the code or infrastructure - meaning it has be a bit more rigorous about what it gives the user.
It works better than I expected in many cases - but it's still very constrained. I see the same issues in products like Bolt and Replit Agent. That doesn't mean it doesn't work or that it's not useful - but I think there's a lot of marketing or influencer content that's a bit misleading w.r.t. current state of things.
I have a few videos in our documentation of how it works including how to fix bugs without having access to the code [1].
I do think it's possible. It will only get better and do more and more of what developers do today .... faster and cheaper than developers. I suggest looking at this as a time of opportunity to identify what does that free developers up to do instead of a time of fear that developers are all going to be unemployed.
I'm increasingly convinced that if you write code using AI, you never want to touch the code. You want to edit or change your project by modifying the prompt. If you modify the code, you need to feed that back into the AI model so that it learns how you work and doesn't lose your changes.
I have forced AIs to generate specific code by telling them the code I want them to use. Fortunately, they will take the correction and apply the logic behind the change throughout the code I'm working on, which is usually the right thing to do.
I haven't figured out what to do about this, but checking your code to git loses the context held in the AI system. I'm also not sure you want to preserve the AI context because, at times, there seems to be value in starting over, especially if you change your approach to a problem.
Don't be afraid of trashing your current context and starting over again. You've learned enough to know how to change your prompts and what information to add or delete to get a better result. It's much faster to re-create from a new prompt than edit code and force the AI system to work how you want it to.
Pay attention to what the system is trying to tell you. Sometimes, it knows better than you what needs to be done. It does this because you may not consciously understand all aspects of your problem, but it appears that unconscious information is somehow encoded in your prompt chain, and the AI system can see that and act on it.
Pay attention 2: It may teach you a new technique or trick. I've had more than one occasion when I look at the code I get and say, "That's not right," but after I dig into it, I see that it was right but used in an idiom I was not familiar with.
Try different AI systems because you will get different responses to the same prompt, and you might like one result better than the other.
If you're using speech recognition to generate a prompt, using Grammarly to fix recognition errors and reword your prompt gives you better results.
Reproducibility is a problem. I have fed the same prompt into an AI system but with a new context, and usually, I get the same result, but not always. The fix has been to feed the original code into the system to remind it what it was thinking about.
It doesn't suggest fixes when errors occur,
It doesn't suggest code when I write:
# visualise the model
Related
Cursor – The AI Code Editor
Cursor is an AI-powered code editor that enhances developer productivity through predictive editing, natural language coding, and a focus on privacy, receiving positive feedback for its efficiency and user experience.
Code Smarter, Not Harder: Developing with Cursor and Claude Sonnet
Cursor is an AI-powered code editor that enhances software development by integrating with the Claude Sonnet 3.5 model, allowing users to generate code and reference various sources for context.
Cursorcasts: Learn how to code with AI using Cursor
Cursor is an AI-driven platform for beginners to learn coding, offering free screencasts, features like autocomplete, code editing, and project sharing, with sign-in options for personalized experiences.
Copilot vs. Cursor vs. Cody vs. Supermaven vs. Aider
Vincent Schmalbach prefers Cursor over GitHub Copilot for its effective code modification and autocomplete features, while Aider serves command-line users. Sourcegraph Cody is less reliable for code modifications.
How I write code using Cursor
Cursor is a coding tool that enhances productivity in Visual Studio Code with features like tab completion and inline editing. Despite some limitations, it positively impacts coding workflows and experimentation.