Hacker News new | ask | show | jobs
by lfciv 934 days ago
I used to use Github Copilot, but I find Cursor (https://cursor.sh/) to be even better.

You can add an OpenAI API Key and it'll use the GPT-4 API. It indexes your code for you and it'll crawl documentation for you if you give it the link. Then you can reference specific files or documentation with "@". There are also some really intuitive hot keys.

2 comments

Cursor is amazing and I can't figure out why. Is it just because their UX is better than what Copilot is doing? The whole cmd+K and doing a live edit/diff is so useful. I realize Copilot has almost the same short cut key(s) for the same purpose..but it's just not as smooth.
Also regarding CRUD apps – I actually was able to automate code generation of most of my CRUD pretty easily using cursor. I hand wrote a couple of them and now I just create the new file and prompt it referencing the Model and one of the other CRUD files as an example.