apm install ctags-status
Show the class/function/scope name of the current line on the status bar.
Inspired by VIM Tag List plugin. Using Ctags to locate the start of functions / classes and heuristic (e.g. indentation / closing curly ‘}’) to locate the end of them.
If you like this plugin, leave it a star :) If you find any problem, create an issue at https://github.com/mrkschan/ctags-status/issues. If you find it works for any programming languages that are not in the Tested languages list, you may add it to the list by making a pull request at https://github.com/mrkschan/ctags-status/pulls.
- C / C++
- CSS / LESS / SCSS / SASS
- HTML / XML
Ubuntu / Debian
sudo apt-get install exuberant-ctags
Red Hat / Fedora / CentOS
sudo yum install ctags
brew install ctags
/usr/local/bin/ctags to your ctags-status settings.
- Download CTags binary from http://prdownloads.sourceforge.net/ctags/ctags58.zip.
- Unzip the binary to anywhere that can be located by your PATH.
How it works
- Scope finding - http://mrkschan.blogspot.hk/2015/05/scope-finding-in-source-file.html