Atom Packages Directory

a package directory for a text editor of the 21st Century

Smart Tabnames by Long Lazuli

Install with:
    apm install atom-smart-tabnames
  

Atom Smart Tabnames

This a fork of Atom Rename Tabs with inspirations from Atom 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.

Install

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 SettingsInstallSearch and search for atom-smart-tabnames.

Usage

Just open and edit files, the renaming will happen automatically.

License

MIT

Keywords: atom, tabs, rename, title, indexes Suggest keywords
Fork me on GitHub