Re:How I write code using Cursor: A review
by dartos on Tuesday October 29, 2024 @04:19PM
(#41988896)
> Cursor can have whole project in the context
Depends on the size of the project. You can’t shove all of google’s monorepo into an LLMs context (yet)
Re:How I write code using Cursor: A review
by dep_b on Wednesday October 30, 2024 @04:59AM
(#41993058)
I’m looking at 150000 lines of Swift divided over some local packages and the main app, excluding external dependencies
Re:How I write code using Cursor: A review
by azan_ on Wednesday October 30, 2024 @08:02AM
(#41993952)
Do you have 150000 lines of Swift in YOUR context window?
Re:How I write code using Cursor: A review
by dep_b on Thursday October 31, 2024 @06:39AM
(#42005404)
I know how to find the context I need, being aided by the IDE and compiler. So yes, my context window contains all of the code in my project, even if it's not instantaneous.
It's not that hard to have an idea of what code is defined where in a project, since compilers have been doing that for over half a century. If I'm injecting protocols and mocks into a unit test, it shouldn't be really hard for a computer to figure out their definitions, unless they don't exist yet and I was not clear they should have been created, which would mean that I'm giving the AI the wrong prompt and the error is on my side.
Cursor can have whole project in the context, or you can specify specific files that you want.