I am writing a plugin for finding all function references in a project. Therefore i need to use the command “find in files”, but unfortunately i can’t find any example how to use “find in files” via sublime.run_command().
Is it even possible to do it this way?
I think that aren’t good news…
I don’t want to show the find panel and don’t want to replace something.
Just do an regex search for the selected word on a specific folder and show the results in a result buffer.
oops, I meant to execute the find, use the find_all command, sorry
I believe the user might not even see the panel, you just initialize it and execute the find_all command (which closes the panel) and it will show the results in a buffer
if you open the ST console (View menu -> Show Console) and type sublime.log_commands(True)Enter and then right click on a folder in the sidebar and “Find in Folder”, you’ll see the following in the console: