gpt-4.1-2025-04-14· OpenAI
LMArena Human Preference 140K
vscode format document shortcut
- User
vscode format document shortcut
- Assistant
The shortcut to format a document in Visual Studio Code (VSCode) is:
-
Windows/Linux:
Shift+Alt+F -
Mac:
Shift+Option+F
You can also right-click in the editor and select "Format Document" from the context menu.
Make sure you have a formatter (like Prettier or the default VSCode formatter) installed and configured for your file type! -
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.