Planning Mode
Planning mode allows explicitly tweaking two steps of an editing session that are normally done automatically:
- Expanding brief instructions into a more detailed version
- Letting the AI discover symbols relevant to a particular request
You can enter the planning mode by using the drop-down button in the bottom right corner of the AI Session window:You can also start a regular AI edit, and then if the changes don’t look right, switch to the planning mode:
Planning mode actions do not directly edit any code. Instead, they refine the editing request, or explicitly pull more context into the context window. See the sections below for more details.
Alternative Interpretations
AI can do a lot of meaningful work with very brief prompts (like a name of the method you would add or “sort by x, then y”). But, it doesn’t always get the correct intention. If it looks like the AI totally misunderstood what you meant, and you don’t want to write more details by hand, you can switch to the planning mode and use the “Other ideas” button to view other possible expansions of your original request:
Needless to say, you can edit the expanded instructions before hitting “Go” and letting the model actually follow them.
Pulling Context
You can use the “Pull relevant symbols” button to automatically ask the model what other symbols it would like to see to complete the current request, and pull them into the context window:If the model requested too many symbols, you can step back, or redo the step.
By default, CodeVROOM does one context discovery iteration at the beginning of each session. If this is not enough and the model ends up hallucinating some dependent types, you can step back into the planning mode, pull more symbols, and press Go to get another version of the edit.
Symbol-level editing works much faster than file-level editing, so this workflow would still take less time and tokens than letting an agentic tool carefully examine multiple files.