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

Support disabling / hiding editor actions (icons at the right of tab bar) #669

Closed
ronjouch opened this issue Feb 26, 2019 · 12 comments
Closed
Assignees
Labels
not-bug Either not a bug or not related to the project question

Comments

@ronjouch
Copy link

I don't like editor actions (the little icons on the right of the tab bar)

screenshot_gitlens-editor-actions_2019-02-26-11 26 02

, because:

  1. I don't use them (I invoke the commands via keyboard shortcuts or the command palette)
  2. they consume precious space
  3. they add UI clutter

So, I'd like to hide them. Ideally, VSCode issue microsoft/vscode#46403 would be addressed to enable hiding all/some of them, but it's not yet, so on GitLens side I'd love a gitlens.editorActions.enabled setting letting me disable them.

Thanks for GitLens 🙂!

@eamodio
Copy link
Member

eamodio commented Feb 26, 2019

This is supported today. While the documentation of it is practically non-existent (using the gitlens.menus setting), the GitLens settings editor provides easy access (run GitLens: Open Settings from the command palette).

Here are the settings in simple mode:
image

Use the dropdown pointed at to switch between simple and advanced.

Hope that helps.

@eamodio eamodio closed this as completed Feb 26, 2019
@eamodio eamodio added question not-bug Either not a bug or not related to the project labels Feb 26, 2019
@eamodio eamodio self-assigned this Feb 26, 2019
@ronjouch
Copy link
Author

This is supported today. While the documentation of it is practically non-existent (using the gitlens.menus setting), the GitLens settings editor provides easy access (run GitLens: Open Settings from the command palette).

Use the dropdown pointed at to switch between simple and advanced.

Hope that helps.

@eamodio it does! I had searched the gitlens settings namespace, but missed gitlens.menus So,

    "gitlens.menus": {
        "editorGroup": {
            "blame": false,
            "compare": false
        }
    },

Thanks!

@blowsie
Copy link

blowsie commented Oct 11, 2019

image

With updated UI

@sytelus
Copy link

sytelus commented Dec 30, 2019

All these should be false by default. I'm uninstalling GitLens until VSCode allows better management of editor actions.

@eamodio
Copy link
Member

eamodio commented Jan 6, 2020

@sytelus You can easily set them off yourself.

@shiraze
Copy link

shiraze commented Jan 17, 2020

@sytelus I also found the options horrible, but by enabling them by default allows users to see these features - it's easier to get rid of something you notice than it is to add something you don't know about ;)
Documentation should have something like what @blowsie pointed out as I just couldn't figure out what needed changing! Just remember to restart vscode for these changes to take effect

@eamodio
Copy link
Member

eamodio commented Jan 17, 2020

@shiraze What about the options did you find "horrible"?

Also what do you mean by?

Documentation should have something like what @blowsie pointed out

That screenshot is from GitLens' settings.

@shiraze
Copy link

shiraze commented Jan 18, 2020

@eamodio I didn't like the addition of GitLens options in the editor group toolbar, and "horrible" is probably too strong a word ;)
It's nice to know that option is there, though, and setting it as default (as I mentioned) is a good way to show a new feature.
The documentation, though, was not clear on how this could be removed. I guess we need a one liner for each of the options in the screenshot from the GitLens documentation explaining how they affect the UI.
Don't forget: the community is here to help wherever we can!

@eamodio
Copy link
Member

eamodio commented Mar 23, 2020

@shiraze Please feel free to open a PR for adding more documentation -- thanks!

@trkoch
Copy link

trkoch commented Oct 15, 2020

Is there a way to only show compare icons when in a diff? Also is it possible to move commands to the ... submenu?

@eamodio
Copy link
Member

eamodio commented Oct 20, 2020

@trkoch which compare icons? As for the ... menu that isn't currently an option.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
not-bug Either not a bug or not related to the project question
Projects
None yet
Development

No branches or pull requests

6 participants