You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the README file it says that project-tab-groups-tab-group-name-function's default setting will try to look for two dir-local variables, if they are not found it will fall back to the project’s directory name.
In my case opening a project, the new tab bar gets the buffer's name and changing the buffer changes the name of the tab bar too. Am I misunderstanding how project-tab-groups-tab-group-name-function is supposed to work? The way I understood is if I open a project with path ~/myprojects/foobar, the tab bar should be renamed to foobar.
Hey @suleymanboyar, thanks for reaching out, and thanks for your question. Happy to hear that you're giving this package a try!
Please note that the project-tab-groups-tab-group-name-function function you mentioned is responsible for generating the name of the tab group that this package creates for you when you open a project. It does not affect the name of the individual tabs within that group.
Looking at your config, it seems like your tab bar doesn't display tab groups yet.
To enable that (or more correctly: to see the names of the existing tab groups in your tab bar), you'll need to adjust Emacs' tab-bar-format variable.
In the README file it says that
project-tab-groups-tab-group-name-function
's default setting will try to look for two dir-local variables, if they are not found it will fall back to the project’s directory name.In my case opening a project, the new tab bar gets the buffer's name and changing the buffer changes the name of the tab bar too. Am I misunderstanding how
project-tab-groups-tab-group-name-function
is supposed to work? The way I understood is if I open a project with path~/myprojects/foobar
, the tab bar should be renamed tofoobar
.Relative parts from my config
The text was updated successfully, but these errors were encountered: