-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Fixed #5500: implemented "Toggle Minimap" command #5633
Conversation
fangnx
commented
Jul 3, 2019
- Implemented the "Toggle Minimap" command in the command pallete.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works well!
I'd be fine too if the method doToggleMinimap
was simply called toggleMinimap
, and more description was made in the method to describe that it updates the user editor.minimap.enabled
preference.
@lmcbout can you try it out as well? Note that the command only updates the |
1- Code should be modify from doToggleMinimap() to toggleMinimap() as suggested |
We have the same behaviour as VSCode. VSCode sets the I do not believe there is anything more to do in this PR, and this comment was already discussed #5633 (comment) And looking at their source code you can see as well we implement it similarly: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be nice, but not mandatory: doToggleMinimap() to toggleMinimap() as suggested
After further investigation, VSCode behave the same. As long as you don't put the preference in the workspace level, it is fine. VSCode put as default "true" in the workspace .
LGTM
I will change the naming ;). Thanks for the feedback! Just fixed the naming issue. @vince-fugnitto |
- Implemented the "Toggle Minimap" command in the command pallete. Signed-off-by: fangnx <[email protected]>