There is a bug on the goto panel when you try to open it with show_overlay command, it will not open correctly if you try to use the ‘#’ in the search.
Example. create a project that contains a file, named:
app/code/community/MagicToolbox/MagicZoomPlus/Model/Observer.php
with the following content:
<?php
class MagicToolbox_MagicZoomPlus_Model_Observer {
public function fixLayoutUpdates($observer) {
}
}
if you try to create a plugin with command like this:
class MyPluginCommand(sublime_plugin.TextCommand):
def run(self, view):
sublime_api.window_run_command(
self.view.window().id(),
'show_overlay',
{
'overlay': 'goto',
'show_files': True,
'text': 'MagicToolbox/MagicZoomPlus/Model/Observer#fixLayoutUpdates'
}
)
it will not display the file on first hand. but if you remove all the text from the search input, and then paste it again’MagicToolbox/MagicZoomPlus/Model/Observer#fixLayoutUpdates it will display the file and highlight the function.
Not sure if there is another way to achieve the same, but this seems like an issue to me.