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

Show​Definition​Ex

by jk4837 ST3

Visually showing definition

Details

Installs

  • Total 2K
  • Win 947
  • Mac 383
  • Linux 375
Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 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
Windows 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 0 0 0 0 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 2 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 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 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"]
    ]
}