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

Feature request: Allow Code Outline in Minimap location #50047

Open
StevenLangbroek opened this issue May 17, 2018 · 12 comments
Open

Feature request: Allow Code Outline in Minimap location #50047

StevenLangbroek opened this issue May 17, 2018 · 12 comments
Assignees
Labels
feature-request Request for new features or functionality outline Source outline view issues
Milestone

Comments

@StevenLangbroek
Copy link

I'm using the VS Code insiders build, which has Code Outline built in. I loved this feature from Nuclide, but in its current incarnation it's not as useful as it could be (to me). I have to choose now between file tree (or git or any other of course) sidebar and Code Outline, but I'd prefer to always have it next to my code.

My idea was to allow what is now the Minimap to use different "widgets" (sorry, I've never developed for VS Code so I don't know the correct terminology), so the Code Outline view could live there instead of the (minimally useful Minimap).

@vscodebot
Copy link

vscodebot bot commented May 17, 2018

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@vscodebot vscodebot bot added editor editor-minimap Code/Text minimap widget issues labels May 17, 2018
@StevenLangbroek
Copy link
Author

Oh sorry duplicate. Closing.

@StevenLangbroek
Copy link
Author

After reading through existing issues I don't think it's a duplicate actually. Feel free to close if you disagree, otherwise I'd like request this feature :).

@KamasamaK
Copy link

KamasamaK commented May 17, 2018

Specifically for the code outline feature, this could probably be requested in #49923.

@alexdima alexdima added outline Source outline view issues and removed editor editor-minimap Code/Text minimap widget issues labels May 25, 2018
@alexdima alexdima removed their assignment May 25, 2018
@jrieken jrieken added the feature-request Request for new features or functionality label May 29, 2018
@jrieken
Copy link
Member

jrieken commented May 29, 2018

Yeah, using the minimap location for the outline view is something we have discusses as well. The problem we see with it space, esp. when having multiple editors (think of the newly added grid layout). There might be just a few pixels left and that won't be enough...

@patrys
Copy link

patrys commented Jun 15, 2018

@jrieken On the other hand, having it where the minimap lives could allow you to compare the structure of multiple files (currently the outline contents switch with focus).

@jrieken jrieken added this to the Backlog milestone Oct 21, 2019
@henloh
Copy link

henloh commented Nov 11, 2019

I think this would be a great feature. No scrolling to find the function you are looking for. It cound be a setting of some kind or a quick switch button.

@GorvGoyl
Copy link

GorvGoyl commented Apr 9, 2020

that way minimap can actually start providing some value. Much needed feature for better code navigation.

@sjhsbhqf
Copy link

我也觉得这个功能很棒,不知道是否开发出来了??

@andyn
Copy link

andyn commented Jun 17, 2024

我也觉得这个功能很棒,不知道是否开发出来了??

When this issue was first opened, there was no way to have any sidebar panes on the right side of the screen. Nowadays you can open a secondary side bar with Ctrl-Alt-B and drag the outline window there.

For this reason I personally don't need this feature anymore. YMMV.

@sjhsbhqf
Copy link

Yes, but I still think it would be great if the outline could replace the position of minimap

@syvuilliot
Copy link

on a large screen, with multiple editors, it should be more confortable to have outline in each editors, instead of needing to put focus on the left editor, then move mouse to the right side of the screen then come back to editor.
And I also dislike that the outline switch at each editor focus. It should be less "flashing" to have outline in each editor.

More generaly, the minimap location could become a "bar" (like the primary and secondary bars) where we could put any menu, no ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality outline Source outline view issues
Projects
None yet
Development

No branches or pull requests

10 participants