Fixing VSCode Cross Cursor Problems | Generated by AI
The mouse cursor changing to a cross/plus symbol (十字架) in VSCode usually indicates that VSCode is in a special mode or there’s a configuration issue. Here are the most common causes and solutions:
Common Causes:
- Column Selection Mode: You might have accidentally activated column/block selection mode
- Try pressing
Alt + Shift + IorCtrl + Shift + Alt + Arrow keysto exit this mode
- Try pressing
- Extension Conflict: Some extensions can change cursor behavior
- Try disabling extensions temporarily:
Ctrl + Shift + P→ “Developer: Reload Window” - Or start VSCode in safe mode:
code --disable-extensions
- Try disabling extensions temporarily:
- Zoom/Selection Tools: You might have activated a zoom or selection tool
- Press
Escapekey several times - Try
Ctrl + Zto undo recent actions
- Press
- Terminal Focus Issue: If the terminal is focused, it can change cursor behavior
- Click in the editor area to refocus
- Try
Ctrl + 1to focus on the editor
Quick Fixes:
- Restart VSCode: Simple but often effective
Ctrl + Shift + P→ “Developer: Reload Window”
- Check Mouse Settings:
- Go to File → Preferences → Settings
- Search for “cursor” and check cursor-related settings
- Reset Workspace:
- Close VSCode
- Delete
.vscodefolder in your project (if present) - Reopen the project
- System-wide Issue Check:
- Test if the cursor issue appears in other applications
- If yes, it might be a GNOME/system setting issue
Try pressing Escape a few times first, then restart VSCode. This usually resolves the cross cursor issue.