Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A code definition window like visual studio #166340

Open
Shaka0723 opened this issue Nov 15, 2022 · 5 comments
Open

A code definition window like visual studio #166340

Shaka0723 opened this issue Nov 15, 2022 · 5 comments
Assignees
Labels
editor-symbols definitions, declarations, references feature-request Request for new features or functionality
Milestone

Comments

@Shaka0723
Copy link

Hi
Can your team add a code definition window like visual studio already has.
image

I know there is already a peek window in vscode, but it is not enough, for :

  1. it needs ctrl+click to call peek window
  2. peek window can not be seen when user scroll screen up or down

what I am expecting is :

  1. the definition window shows the symbol definition automatically when I put the cursor to the symbol (like visual studio)
  2. the definition window is a independent window but not build-in control in the editor (like visual studio)
  3. when I scroll down and up in the definition window, I can see the other part of codes in the file where the symbol defined.(like visual studio)
  4. when I double-click anywhere in the definition window, a new editor opened to the 2nd editor group, to show the file where I clicked
  5. when I click other symbol in the definition window, then window jumps to the new clicked symbol's defined location
@VSCodeTriageBot VSCodeTriageBot added the editor-symbols definitions, declarations, references label Nov 15, 2022
@jrieken jrieken added the feature-request Request for new features or functionality label Nov 15, 2022
@jrieken jrieken added this to the Backlog Candidates milestone Nov 15, 2022
@VSCodeTriageBot
Copy link
Collaborator

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!

@zjw0994

This comment was marked as spam.

@Shaka0723
Copy link
Author

Currently there may be more than one definition location for a symbol.
In my opinion, your team can just show all definition location like peek window which is already had in VSCode.
Another way of saying, this feature is just pinning the existing peek window to somewhere but not inside editor area.

@Jason-bandy

This comment was marked as spam.

@VSCodeTriageBot
Copy link
Collaborator

🙂 This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor-symbols definitions, declarations, references feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

5 participants