# ClassName
[](https://travis-ci.org/litefeel/Sublime-ClassName)
[](https://ci.appveyor.com/project/litefeel/sublime-ClassName/branch/master)
[](https://scrutinizer-ci.com/g/litefeel/Sublime-ClassName/?branch=master)
[](https://codecov.io/gh/litefeel/Sublime-ClassName)
ClassName is a tiny and simple plugin for [Sublime Text](http://www.sublimetext.com) .
It copy class full name and package path to clipboard.
### Installtion
1. Install it using [Sublime Package Control](https://packagecontrol.io/installation).
2. Run `Package Control: Install Package` command
3. find and install ClassName plugin.
### Usage
- Right click to copy class name and package path
- `Ctrl+Alt+C` to copy class name
### Key Bindings
Default Key Bindings:
~~~json5
[
{ "keys": ["ctrl+alt+c"], "command": "classname_copy" }
]
~~~
Change key bindings via menu:
`Preferences > Package Settings > ClassName > Key Bindings`
### Settings
Default Settings:
~~~json5
{
// set this string as prefix of class name
"classname_prefix": "",
// set this string as namespace separator
"namespace_separator": ".",
// set this string as suffix of class name
"classname_suffix": ""
}
~~~
Change setting via menu:
`Preferences > Package Settings > ClassName > Settings`
### Frequently Asked Questions
1. What is class full name?
If the path of a file in the sidebar is `src/com/litefeel/MyClass.lua`,
so the class full name is `com.litefeel.MyClass`.
2. What is package path?
If the path of a file in the sidebar is `src/com/litefeel/MyClass.lua`,
so the package path is `com.litefeel`.
### Related Links
homepage:
github:
issues: