Show buttons in file view
lonix1 opened this issue · comments
Thanks for this interesting new extension!
I was wondering whether it's possible to show the buttons in the file view (above the opened file)? So if a file with changes is open, I can click e.g. the "add" button to perform a git add <file>
.
That is even more useful, because we spend most of our time in the file view, and only some of the time in the source control view.
I have now added the display of the buttons in the title of workbench.explorer.fileView. But unfortunately I cannot offer to automatically add the currently selected file in the explorer with command git-buttons.stage
(instead, the currently active file is used, see and line 2872). The request has already been recorded at VSCode (microsoft/vscode#3553), but is currently not yet implemented.
Thanks that's a nice workaround until the vscode API allows for more. 😃 I upvoted that feature request.
Thanks, no workaround from me. Default behaviour of vscode git extension.