ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Class​Name

by litefeel ALL

copy class full name and package path to clipboard.

Details

Installs

  • Total 4K
  • Win 3K
  • Mac 364
  • Linux 398
Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21
Windows 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 1 0 0 0 0 0 0 0 1 0
Mac 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 0 0 0 0 0 0
Linux 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 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

ClassName

Build status Scrutinizer Code Quality codecov

ClassName is a tiny and simple plugin for Sublime Text . It copy class full name and package path to clipboard.

Installtion

  1. Install it using Sublime Package Control.
  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:

Error: language “json5” is not supported
[
    { "keys": ["ctrl+alt+c"], "command": "classname_copy" }
]

Change key bindings via menu:
Preferences > Package Settings > ClassName > Key Bindings

Settings

Default Settings:

Error: language “json5” is not supported
{
    // 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:https://www.litefeel.com/sublime-classname/
github:https://github.com/litefeel/Sublime-ClassName/
issues:https://github.com/litefeel/Sublime-ClassName/issues