This a fork of
Atom Rename Tabs
with inspirations fromAtom Nice Index
.
Renames your Atom Text Editor tab titles to more useful names if there are many instances of the same file name open. This is consistent with Sublime Text editor tab title behavior.
Atom's tab naming isn't very helpful if there are multiple files with the same
name open. This package is useful if you write Node.js app with a lot of files
named index.js
. Atom would title the tabs index.js - /my/project...
. That's
not very helpful. Assuming you have two files: /my/project/foo/index.js
and
/my/project/bar/index.js
the tabs to index.js - foo
and index.js - bar
respectively.
To be clear, this isn't only for Node.js developers. This is for those who like Sublime Text editor's tab title convention.
Until the package is on apm
, you can do :
git clone https://github.com/long-lazuli/atom-smart-tabnames.git
cd atom-smart-tabnames
apm link
Instead of
apm install atom-smart-tabnames
or go to Settings
→ Install
→ Search
and search for atom-smart-tabnames
.
Just open and edit files, the renaming will happen automatically.
MIT
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.