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

Show​Definition​Ex

by jk4837 ST3

Visually showing definition

Details

  • 1.0.9
  • github.​com
  • github.​com
  • 3 months ago
  • 29 minutes ago
  • 3 months ago

Installs

  • Total 166
  • Win 88
  • OS X 43
  • Linux 35
Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9
Windows 0 0 1 0 1 4 4 0 1 0 1 1 0 2 1 0 0 0 1 0 0 0 0 0 0 1 1 4 0 3 1 0 0 0 1 0 0 1 2 0 4 0 1 2 0 2
OS X 0 1 0 1 0 0 3 1 0 0 0 2 0 1 0 1 0 0 1 1 1 2 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 1 0 1 0 2 0 0
Linux 0 0 0 0 1 1 0 0 0 0 1 2 0 0 0 0 0 0 0 2 0 0 0 0 1 0 0 0 0 1 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"]
    ]
}