/ShowDefinitionEx

A sublime plugin for visually showing definition

Primary LanguagePythonMIT LicenseMIT

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"]
	]
}