- Hands-On Serverless Computing
- Kuldeep Chowhan
- 194字
- 2025-04-04 16:32:06
Side-by-side editing
In Visual Studio Code, you can have up to three editors open side by side for editing. There are multiple ways to open the editors side by side when you already have one editor open. The following instructions show you how:
- cmd + \ (macOS) or Ctrl + \ to split the active editor into two
- cmd (macOS) or Ctrl click on a file in the Explorer
- From the Explorer context menu on a file—Open to the Side
- On the upper-right of an editor, click the Split Editor
- Drag and drop a file to the other side of the editor region
- cmd + Enter (macOS) or Ctrl+Enter in the Quick Open (cmd + P) file list

Visual Studio Code side- by-side editing
When you have more than one editor open, you can switch between them quickly by holding the cmd (macOS) or Ctrl key and pressing 1, 2, or 3.
You can resize editors and reorder them. Drag and drop the editor title area to reposition or resize the editor.