ClassName
copy class full name and package path to clipboard.
Details
Installs
- Total 4K
- Win 3K
- Mac 363
- Linux 398
Mar 31 | Mar 30 | Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | Mar 16 | Mar 15 | Mar 14 | Mar 13 | Mar 12 | Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | Mar 5 | Mar 4 | Mar 3 | Mar 2 | Mar 1 | Feb 28 | Feb 27 | Feb 26 | Feb 25 | Feb 24 | Feb 23 | Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | Feb 17 | Feb 16 | Feb 15 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
ClassName
ClassName is a tiny and simple plugin for Sublime Text . It copy class full name and package path to clipboard.
Installtion
- Install it using Sublime Package Control.
- Run
Package Control: Install Package
command - 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:
[
{ "keys": ["ctrl+alt+c"], "command": "classname_copy" }
]
Change key bindings via menu:
Preferences > Package Settings > ClassName > Key Bindings
Settings
Default Settings:
{
// 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
What is class full name?
If the path of a file in the sidebar issrc/com/litefeel/MyClass.lua
,
so the class full name iscom.litefeel.MyClass
.What is package path?
If the path of a file in the sidebar issrc/com/litefeel/MyClass.lua
,
so the package path iscom.litefeel
.
Related Links
homepage:https://www.litefeel.com/sublime-classname/
github:https://github.com/litefeel/Sublime-ClassName/
issues:https://github.com/litefeel/Sublime-ClassName/issues