Skip to content

Reduce console log noise by removing key symbols from Vue DevTools shortcut message #1017

@bardkalbakk

Description

@bardkalbakk

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions