vuejs / vuejs/devtools

`Copy Path` should be renamed `Copy Key`

Open
#840 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

Copy Path actually copy the "key" of the selected value.
Image
In this exemple, it copy "optimal".

It does not actually copy the "path" in the object.
So I think it should be renamed, and maybe we could add a 3rd option to actually copy the JS path.

In my exemple, the path would be something like this:
"status.antenna.1.alignment.position.optimal"

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

No file or test is named; start by locating the Vue Devtools UI action labeled Copy Path and inspect how it copies the selected value. Done means the existing action is accurately labeled Copy Key; the optional JavaScript-path action remains an additional scope decision because the issue presents it as a possibility.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.