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