microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
161.92k stars 28.46k forks source link

git: "the active editor cannot provide timeline information" #213935

Open benmkw opened 3 months ago

benmkw commented 3 months ago

Type: Bug/ Feature

The timeline view should show the git history of the project/ show all commits, if no file is selected. Currently only "the active editor cannot provide timeline information" is shown and the commits are only visible when a single file is selected.

This way one could also select different commits/ reorder them etc.

VS Code version: Code - Insiders 1.90.0-insider (fc8762e773c35d4e52e8a7375704af2e24698e5d, 2024-05-29T05:50:53.996Z) OS version: Darwin arm64 23.5.0

gjsjohnmurray commented 2 months ago

Might require https://github.com/microsoft/vscode/issues/94303 which I would also find useful.

Pinging @lramos15

gjsjohnmurray commented 2 months ago

@benmkw does https://github.com/microsoft/vscode/issues/185269 meet your need? It displays in the SCM view rather than the Timeline one, but that might not be a problem for you.

benmkw commented 2 months ago

@gjsjohnmurray I'm not sure I can answer that question or understand what this means for the GUI. Ideally, the timeline view would also support interacting with the commits, such as editing, reordering, and squashing. If the SCM view would support such interactions, this would make it seem more appropriate.