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

Class​Name

by litefeel ST2/ST3

copy class full name and package path to clipboard.

Details

Installs

  • Total 3K
  • Win 2K
  • OS X 285
  • Linux 293
Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7
Windows 0 0 2 1 1 1 0 0 1 2 1 0 0 2 2 2 2 1 2 0 0 3 3 1 2 0 1 1 1 4 1 1 4 1 2 0 1 1 0 1 1 1 1 1 2 1
OS X 0 0 0 0 0 0 0 1 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 1 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 1 0 1 0 0 0 0 1 0 1 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 1 0 2 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

ClassName

Build Status 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