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

Show​Definition​Ex

by jk4837 ST3

Visually showing definition

Details

Installs

  • Total 2K
  • Win 942
  • Mac 380
  • Linux 374
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 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8
Windows 1 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 1 0 1 0 0 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 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
Linux 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 1 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Show Definition EX

ShowDefinitionEx expand original definition lookup path:line with class and overloading choices

Basically, this package works on every syntax supported by your Sublime Text since it's base on the built-in function result, and open an invisible panel to parse the information of function. It only shows symbols in the same file extention, so you will not see a JS function appear when writing C++

Usage

Using F10 to change between built-in method and this plugin

Installation

Using Package Control: Install Package command and search for ShowDefinitionEx

Demonstration

From

definition view

To

definitionEx view

Settings

{
    "DEBUG": false,
    "show_path": true,
    // Scope name and file path will display on two lines
    // if length of scope name exceed this number
    "max_len_to_wrap": 60,
    // Number of items displayed at a time
    "max_list_item": 20,
    // Manually setting parsing syntax
    "syntax_lists":
    [
        [
            "C++.sublime-syntax",
            [
                "h",
                "c",
                "hpp",
                "cpp"
            ]
        ]
    ],
    // File that won't be show
    // "exclude_files":["css"],
    // Showing the same file type or both in related_list
    "related_list": [
        ["h", "c", "hpp", "cpp"],
        ["js", "css"]
    ]
}