3 ms·
Ask Cursor to write usage and mocking documentation for the most important injected dependencies, then include that documentation in your context. I’ve got a la
by throwup238 2y ago
Ask Cursor to write usage and mocking documentation for the most important injected dependencies, then include that documentation in your context. I’ve got a large tree of such documentation in my docs folder specifically for guiding AI. Cursor’s Notebook feature can bundle together contexts.
I use Cursor to work on a Rust Qt app that uses the main branch of cxx-qt so it’s definitely not in the training data, but Claude figures out how to write correct Rust code based on the included documentation no problem, including the dependency injection I do through QmlEngine.
- rubymamis 2y agoSounds interesting, what are you working on? (Fellow Qt developer)
- throwup238 2y agoSame thing: https://news.ycombinator.com/item?id=40740017 https://news.ycombinator.com/item?id=40740017 :) Just saw you published your block editor blog post. Look forward to reading it!
- rubymamis 2y agoHaha, hi again! Awesome! Would love to hear your thoughts. Any progress on your AI client? I'm intrigued by the so many bindings to Qt. Recently, I got excited about a Mojo binding[1]. [1] https://github.com/rectalogic/mojo-qt https://github.com/rectalogic/mojo-qt