zlacker

[return to "Gemini 2.5 Pro Preview"]
1. ranyum+Z3[view] [source] 2025-05-06 15:30:36
>>meetpa+(OP)
I don't know if I'm doing something wrong, but every time I ask gemini 2.5 for code it outputs SO MANY comments. An exaggerated amount of comments. Sections comments, step comments, block comments, inline comments, all the gang.
◧◩
2. GaggiX+e4[view] [source] 2025-05-06 15:31:52
>>ranyum+Z3
You can ask to not use comments or use less comments, you can put this in the system prompt too.
◧◩◪
3. ChadMo+f5[view] [source] 2025-05-06 15:37:55
>>GaggiX+e4
I've tried this, aggressively and it still does it for me. I gave up.
◧◩◪◨
4. ziml77+T6[view] [source] 2025-05-06 15:47:38
>>ChadMo+f5
I tried this as well. I'm interfacing with Gemini 2.5 using Cursor and I have rules to to limit the comments. It still ends up over-commenting.
◧◩◪◨⬒
5. shawab+Yh[view] [source] 2025-05-06 16:48:41
>>ziml77+T6
I have a feeling this may be a cursor issue, perhaps cursors system prompt asks for comments? Asking in the aistudio UI for code and ending the prompt with "no code comments" has always worked for me
[go to top]