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 357
  • Linux 397
Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20
Windows 0 1 0 0 0 1 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 1 0 0 0 0 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 1 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