My best advice for using Cursor

preview_player
Показать описание
Useful Links
Рекомендации по теме
Комментарии
Автор

Great video, Cody! I always appreciate your transparency. I'm also a huge fan of Cursor but we must recognize its pitfalls

I find it muuuch better when you fetch the documentations in the cursor settings and when you craft a good ".cursorrules" file. You can even ask Cursor itself to build for you a good start on your ".cursorrules" based on your architecture, so the kind of stuff you were struggling with the video become much less frequent 🌱

dalanxd
Автор

I haven't been here for a minute (because of a new project at work), but happy seeing you having fun man. :)

mdndev
Автор

Man it does look like it's still generating a lot of AI slop as was my experience working with cursor. Plenty of useful features for side projects which i do have fun playing with, but unless you're experienced and knowledgable about your codebase, it seems like a crazy easy way to add a lot of really bad code and coding practices, even while scanning your codebase it still gives out nonsense, and then you just refactor and re-prompt constantly, at what point is it better to just hand code it all? Idk

chriss
Автор

The best use for AI in my experience is asking it to produce a generic function/algorithm algorithm. Example: I wanted to smoothly move an object up and down in three.js, and instead of spending time writing it myself I just told Cursor to give me a function that tweens between two number values in X given seconds. Worked flawlessly.

I can, however, not rely on it to correctly complete lines of code when I'm writing SolidJS. It'll just throw shit at the wall.

patsy
Автор

Yeah I found that after I setup the main architecture of the features in my projects, I can treat cursor like a junior and have it copy pasta my examples to implement new stuff

Ivcota
Автор

i like cursor and i think the technology behind how it works is interesting. i generally just like typing my own code though so i will use neovim + cursor a lot of the time. neovim for 90% of development but occasionally i'll tab switch to cursor and ask a question about the project or have it draft something up in composer i can refer to. I find though that if you just start out tabbing constantly and letting chat/composer write good chunks of files that I lose the intellectual relationship I have with the code quickly and semi complicated projects become hard to maintain. I think it is probably somewhat reasonable for templating out react features for a demo or something but building out an ML library or something reasonably complicated like gpu programming I feel like it slows me down as I spend more time fixing its solutions than just writing my own.

Chase-From-Space
Автор

how can you display errors on the line so you don't have to hover? (at 1:30)

AlwayzJarvin
Автор

Cursor has been a game changer for my side projects. Sadly on my main job, due to the confidential level of some of the source codes I'm not fully trusting it 🥶

akialter
Автор

Using the new macOS voice to text feature along with cursor composer has really saved me when having tendinitis!

kyrregjerstad
Автор

what vscode theme are u using? awesome video!

jonasls
Автор

I wonder what the limitations of asking the codebase thing are? Like for instance, if I named my files really asinine names, would it perform as well? Or does it use LSP to help figure out where things are?

andrewmarek
Автор

amazing that you are using Neo Vim and Cursor

samnmeje
Автор

Awesome video dude, much appreciated!

joesome_
Автор

Great video. I would recommend playing with cursorrules a bit. It can set boundaries that you would have to otherwise handle manually.

danielwollmann
Автор

hmm, still resisting, i am afraid i will loose knowledge slowly. btw honestly, how much do you think the code quality (as you mentioned "my code is crap") would suffer?

frantisek_heca
Автор

5:58 Im my experience that issue is more common in Game dev. It feels like you either need to make a bunch of complex generic abstractions or be content with awkward coupling in your code.

I tried to make a generic multiplayer inventory system with trading and shared inventories. My philosophy was "every source an item can be received from or sent to is an inventory" (equipping gear sends it to an equipment inventory, putting an item on the ground drops it into the world inventory, etc.)

Somehow, after a couple of days of thinking how to design this. I realized I was basically recreating a scuffed OSI model + Unix networking stack + RBAC system, but for communication between inventories (with items).

Maybe game dev is inheritly just cooked. Or skill issue.

Dom-zyqy
Автор

ive noticed using claude llm always seems to do what it thinks is best, regardless of your prompt, it overwrites and deletes your existing code sometimes

CritterPop
Автор

What kinda cursor rules you are using? Just curious.

ahsanmasood
Автор

You saying please just incase they take over one day and decide to against humanity makes me feel less insance 😂😂

omomer
Автор

great summary of cursor. i spent a while with it but switched over to windsurf. i found it was better working across files for updates. cursor is more mature in the ode itself. Also on feature that is really useful in cursor and windsurf is you can define information that should be used in all chats. things like what ORM you use or UI libraries. Windsurf allows this per project and last i used cursor it was global.

rogueturnip