vs code plugin: git graph

45 views
Skip to first unread message

Edward K. Ream

unread,
Jul 29, 2020, 12:59:33 PM7/29/20
to leo-e...@googlegroups.com
At last, an easy way to visualize git branch structure: vs code's git graph plugin. It's much better than gitk or anything else I have seen. Mission accomplished!

The only glitch: By default it looks like you have to execute the "View Git Graph" command from the command palette. I was expecting to see something in the left had list of extensions.

Edward

Félix

unread,
Jul 29, 2020, 1:44:01 PM7/29/20
to leo-editor
 I was expecting to see something in the left had list of extensions.

What do you mean by this? 
--
Félix 

Edward K. Ream

unread,
Jul 29, 2020, 2:39:38 PM7/29/20
to leo-editor
On Wed, Jul 29, 2020 at 12:44 PM Félix <felix...@gmail.com> wrote:
 I was expecting to see something in the left had list of extensions.

What do you mean by this? 

I should have used the term "activity bar". It contains icons for extensions. Right-clicking the bar allows us to show/hide icons for the various features and extensions.

With one or more git extensions enabled, there is an icon that looks like an upside-down tree. It also contains a number showing how many changed files there are.

What I meant was that I was expecting to see some visual indication of the git graph plugin when I click that git icon. But I don't see anything.

So it looks like the git graph plugin doesn't actually add anything to the activity bar. Let me check. Yup, nothing changes in the activity bar when I disable the git graph plugin. It's no big deal.

Edward

Félix

unread,
Jul 29, 2020, 11:24:55 PM7/29/20
to leo-editor
Oh I get it, yes,

They could have, yes, but the activity bar is in fact suggested as  'last resort' place to add buttons / ui elements, as it uses more space overall and requires exploration.

It's suggested to (and easy once you're familiar with the api,) add buttons into other extension's (or default) views and panels, so I would expect their command to 'open git graph' was perhaps added as a button in the view/title of git related views, such as the git view or gitlab, etc. existing views.

I may be wrong, maybe they should have: I have not tried it yet, but this was just my first thought after seeing screenshots and reading your clarification :)

I'm going to try it out and correct myself if needed!
--
Félix

Edward K. Ream

unread,
Jul 30, 2020, 9:01:21 AM7/30/20
to leo-editor
On Wed, Jul 29, 2020 at 10:24 PM Félix <felix...@gmail.com> wrote:

> It's suggested to (and easy once you're familiar with the api,) add buttons into other extension's (or default) views and panels,

I didn't know that was possible. That's a way cool feature.

> I'm going to try it out and correct myself if needed!

Please let us all know the results.

Edward
Reply all
Reply to author
Forward
0 new messages