It depends. For a class or a function, yes, I copy and paste.
When I want a review of a larger project I am working on (2500 classes), I concatenate the chunks of the codebase into a .txt file and upload it to Gemini.
Then we go over it.
I've even uploaded the entire codebase and asked it to write documentation and it did an excellent job providing a framework for me.
It seems most people aren’t worried about handing their code over to LLMs. Why is that? Isn’t there a concern that they will just train on your code? What if you’re trying to build a business, is there a fear that your idea or implementation will just get stolen or absorbed into the LLM and spit out into someone else’s code base? Or do people just not care anymore because code is so trivial to generate that it’s not worth very much?
Most llms have a privacy mode, including windsurf, that state they don’t use your input for training. But I think your last sentence is key, code is hardly ever so unique that it’s super valuable by itself. Ideas can be copied easily. For most software, it’s the whole package: really tackling the user problem, with the best user experience, with the right pricing, training, enablement, support, roadmap, community, network effect, etc.
When I want a review of a larger project I am working on (2500 classes), I concatenate the chunks of the codebase into a .txt file and upload it to Gemini.
Then we go over it.
I've even uploaded the entire codebase and asked it to write documentation and it did an excellent job providing a framework for me.