iTranslated by AI
VSCode Tips for Humans Whose Editor Was Hijacked by Cline Before Their Job
TL;DR
- Keep your own tabs by locking them
- Open in a new window
- Open terminals in the editor

Introduction: The Issue with Cline
I'm hikae, and while using Cline, I almost lost my patience because my focus was constantly stolen by the files Cline was operating on whenever I tried to make manual changes.
Cline is designed to always open the files it is editing in the editor.
1. Keep your own tabs by locking them
First, use Group Lock. New files will not be opened in a locked tab group. Within this group, the files you are viewing will no longer get lost.

2. Open in a new window
While step 1 allowed you to separate your own tabs from Cline's, focus is still taken over by the tab group during file editing. This is inconvenient when you are trying to make manual adjustments.
Opening in a new window prevents focus from being shared.
Right-clicking an editor tab that Cline is operating on will show Move into New Window. By creating a dedicated window for Cline, the focus in your own window will stay within that window.

3. Open the terminal in the editor
The last remaining part is the terminal. By default, the terminal is displayed in the panel, but it can actually be opened in the editor as well.
Let's also move the terminal for Cline to the newly created window.
terminal.integrated.defaultLocation: editor

Bonus: Place the chat in the same location as Copilot Chat
The default position for Cline is inconvenient because it interferes with Search and the Explorer.
By moving it to the right side using "Move to Secondary Side Bar", you can use the chat in the same location as Copilot Chat, which is very convenient.

Discussion