microsoft / microsoft/vscode-livepreview

Place cursor from preview in editor

Open
#391 1 comment 1 reaction 1 assignee View on GitHub

@andreamah is already working on this.

Since Dec 12, 2022.

feature-request
Dominant language
TypeScript
Stars
596
Forks
119
Avg merge
1d 4m
Merged PRs (30d)
5

Description

This is a feature request.

It would be nice to have a mechanism that allows interacting with the preview to automatically place the editor cursor in the same location. Similar to how chromium devtools has a "Scroll into view" option.

Currently right click does nothing, so for example right-clicking on an element or a piece of text in the preview should place the editor cursor at the same element or text in the code.

Contributor guide

Open the contributing guide

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.