microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.53k stars 28.99k forks source link

Feature Request: Jump to Selected Text #230968

Open harshilparmar opened 1 week ago

harshilparmar commented 1 week ago

Feature Request: Jump to Selected Text

I propose adding a new feature to Visual Studio Code that allows users to quickly jump to the exact location of selected text within a readme.

Description

Currently, VS Code lacks a direct method to navigate to a specific line containing selected text. This feature would enhance code navigation, especially in large files, by allowing users to:

  1. Select a piece of text in the editor and copy with exact line and column number
  2. Paste example link markdown file eg. readme file (./app.component.ts:22:17)

Proposed Implementation

  1. Add a new command in copy as right click menu item called "copy selected text with location".
  2. Paste selected text in markdown file.
  3. On click of copied link VS code will redirect to specified location and also shows the text highlighted.

I would love to work on implementing this feature if given the opportunity. As a developer who frequently works with large codebases, I believe this addition would significantly improve the VS Code user experience.

vs-code-engineering[bot] commented 1 week ago

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!