postcasio / custom-title

Set your own template for Atom's title bar.
MIT License
27 stars 14 forks source link

projectName is empty #15

Open wyrd-code opened 8 years ago

wyrd-code commented 8 years ago

Where does projectName come frome, anyone?

My <%= projectName %> is allways empty. I am using danielbrodin/atom-project-manager, have defined project titles in settings.

Thank you

MindFreeze commented 8 years ago

I am using the project-manager and don't get the titles from there but <%= projectName %> prints the project's root dir name. Which is good enough for me at least.

jamesstidard commented 8 years ago

Glad someone has made this - I work with a lot of projects open at once and the default names aren't handy for me.

Would be great to have it work with atom-project-manager, unlike @MindFreeze my root subproject names are generic so it doesn't really help. Also it'll display the currently focused subproject not the overarching project.

My structure looks something like:

jolsen71 commented 8 years ago

This feature (using project title from Package Manager, if one is defined) would be added if @postcasio would accept Pull Request #10 from September 2015.