When asking the Windsurf to analyse code it does not analyse the entire code in a file which can sometimes lead to incorrect code generation can you please fix this. its the model is lazy or something
J
Jack C Crawford
Prompt that works for me: "Switch to a QA role. Complete a 100% audit of this codebase. Document your findings and recommendations in an md file. After completing this audit of every line of every file, report back to me. No coding or file changes! I will audit this."
Ronny Skog
Ask it to "read the entire file from line 1 to line 1000 in chunks of 200 lines". That will make it read everything.
Rick
Yes I found the only current workaround is to choose only one file, (I sometimes have 3-5 files that need cross analysis), and tell Windsurf exactly this:
"Fully analyze ALL sections of "example.md"
And this will usually work, not always.
But asking Windsurf to:
"Fully analyze ALL sections of ALL files in "/src/docs/example"
It usually does not work
S
Serge
Usually it starts from line 1. And often ends without getting to the relevant parts.
C
Chad Parker
It reads the parts of the file/selection that it thinks it needs, which often isn't enough. If you know accessing the whole file would be beneficial to your task, if you copy and paste the whole file contents into the chat, THEN it will have the contents of the whole file.
L
Lorenz V.
Yes this is really annoying and costs always a lor of extra credits to fix.
O
OP
if error occurs it should reduce from credits too