zed icon indicating copy to clipboard operation
zed copied to clipboard

File modified indicator when tab-bar is turned off

Open anoopkcn opened this issue 1 year ago • 2 comments

Check for existing issues

  • [X] Completed

Describe the feature

The information that a file has been modified and not yet saved is not indicated anywhere when tab-bar is not shown with the following setting:

 "tab_bar": {
    "show": false
  },

This would be nice, especially for people who turned on vim_mode settings and work with the tab switcher.

If applicable, add mockups / screenshots to help present your vision of the feature

No response

anoopkcn avatar Oct 08 '24 19:10 anoopkcn

Can you provide a mockup of where you think this indicator could go?

notpeter avatar Oct 08 '24 23:10 notpeter

Something like the following, where you have an indicator at the start of the breadcrumbs (in the picture below it is the blue dot)

zed_file_mod

anoopkcn avatar Oct 09 '24 11:10 anoopkcn

Related, when the Editor Tab Bar is entirely disabled, there is also no visual way to differentiate a Preview Tab from a normal editor tab. (with a tab bar the filename displayed would be Italics for a Preview Tab)

As mentioned in:

  • https://github.com/zed-industries/zed/issues/4324

notpeter avatar Oct 23 '24 15:10 notpeter

I didn't find this issue when I opened the proposal to show the current file in the title bar:

  • #19573

narqo avatar Oct 23 '24 19:10 narqo

@mikayla-maki I don't think #30507 solves the issue generally. In the scenario, that I've outlined in the https://github.com/zed-industries/zed/issues/19573 (which was closed as duplicated with this issue) I'd come from the perspective of a user that doesn't use breadcrumbs. But the mentioned PR only adds the status to the breadcrumbs.

Could you re-open either this one, or one of the previously closed issues, that are linked to here? I do think this piece of Zed's UX could be improved to be on pair with other more mature IDEs.

narqo avatar Jun 01 '25 16:06 narqo

@narqo Can you file an issue for the specific case you’re working with? More problem oriented than solutions oriented, though feel free to mention your previous issues as well :)

mikayla-maki avatar Jun 01 '25 16:06 mikayla-maki

Update I've found https://github.com/zed-industries/zed/issues/11894 that covers my use-case.


Can you file an issue for the specific case you’re working with? More problem oriented than solutions oriented, though feel free to mention your previous issues as well :)

https://github.com/zed-industries/zed/issues/19573 outlined the problem with the exact scenario I bumped into. In the issue I proposed one solution because back when I filed it, this was the ask in Zed's issue templates. That issue was closed as duplicated in favour of this one. Could you re-open https://github.com/zed-industries/zed/issues/19573? Or would you prefer a new one?

Note, as far as I've noticed, Zed's issue tracking no longer accepts feature requests, routing the users to discussions (I don't find them productive, but that's my problem_).

narqo avatar Jun 02 '25 07:06 narqo