Sublime Forum

Plugin with double click on file name opens file?

#1

Hey, I’m working on a better build plugin at: github.com/sellerengine/sublime_context_build (sorry, but the built in build support is pretty weak for dynamic languages / testing).

What I’m looking to do is make filenames and line numbers double-clickable (like in “Find Results”) to go to the file / line number specified. Any ideas how to go about this?

Thanks!
Walt

0 Likes

#2

You can create a .sublime-mousemap file for your plugin ([\url] uses it). I don’t know that there is a way to create a context, as with keymaps, so be careful not to override default functionality.](https://github.com/robcowie/SublimeTODO)

0 Likes

#3

I really do appreciate the response; it’s a little sad that that’s so restricting though. Better not to use it at all, given its limitations. I guess just a keybinding around the cursor will be the way to go…

0 Likes