I need to create a plugin to define a pattern to make easy going to specific file
for example if hover on code like this: file('dir1/dir2/fil.xyz')
shows a box to click on file and go there
box like this:

thanks
I need to create a plugin to define a pattern to make easy going to specific file
for example if hover on code like this: file('dir1/dir2/fil.xyz')
shows a box to click on file and go there
box like this:

thanks
Unzip the default.sublime-package (in your install directory\Package) and open the symbol.py file.
Check the function ShowDefinition, it is the code corresponding to the popup in your screenshot.
You can also do this directly within Sublime by using View Package File from the command line and selecting Default/symbol.py from the list of package files (e.g. by entering symbol as filter text).