-
-
Notifications
You must be signed in to change notification settings - Fork 226
Open
Description
When Vite starts, Vue DevTools prints the following message to the terminal:
➜ Vue DevTools: Press Alt(⌥)+Shift(⇧)+D in App to toggle the Vue DevTools
Including key symbols (⌥ ⇧ ⌘) adds visual noise in a terminal context without providing much additional value for developers, who are already familiar with these keys. This type of iconography is more appropriate for GUI tooltips than for console output.
The formatting currently comes from:
// packages/vite/src/vite.ts
const toggleComboKeysMap = {
option: process.platform === 'darwin' ? 'Option(⌥)' : 'Alt(⌥)',
meta: 'Command(⌘)',
shift: 'Shift(⇧)',
}Suggestion
Keep the platform-specific key naming logic, but remove the symbol glyphs from the console output. For example:
Option + Shift + D(macOS)Alt + Shift + D(Windows / Linux)
This would improve readability and reduce noise in terminal logs while preserving cross-platform clarity.
I’m happy to open a PR if this direction is acceptable.
Metadata
Metadata
Assignees
Labels
No labels