vuejs / vuejs/devtools

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

Open
#1,017 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.9k
Forks
279
PR merge metrics
No merged PRs in 30d

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in packages/vite/src/vite.ts and inspect toggleComboKeysMap, including its platform-specific naming. Remove the key-symbol glyphs while preserving the Option/Alt distinction, then verify the Vue DevTools shortcut message reads clearly for macOS, Windows, and Linux.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Feature
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.