Skip to content

feature: custom commands #132

Description

@ceuk

Did you check the docs?

  • I have read all the docs

Is your feature request related to a problem? Please describe.

There are many permutations of a status/staging view like the one in this plugin and out of all of them I still think this plugin does it the best. If you compare to Neogit for example, it's noticably slower in Neogit to stage/unstage files, more awkward to navigate (IMO) and slightly more awkward to view diffs for files/hunks.

However, where Neogit shines IMO is that it supports adding popups and commands. e.g. I have the following:

  • In the pull popup:
    • The ability to pull from main (p m). Very useful
  • In the commit popup:
    • A custom commit command which first runs a small script that chucks the diff at an LLM to generate a commit message
  • In the branch popup:
    • Create a PR (calls a random go binary we have for creating them on ADO)
    • Create a branch based on a Jira issue number (uses the Jira API)
    • Open the Jira issue for the current branch
    • Might be more that I'm forgetting

As you can see a lot of them are super bespoke/tailored to my use-case which makes the ability to extend Neogit the perfect solution for this kind of thing.

Describe the solution you'd like

It would be great if Fugit2 exposed a similar API for extending behaviour so that we could further enhance what it's already capable of

Describe alternatives you've considered

Using Neogit :)

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions