SublimeText Find in files Plugin

82 views Asked by At

I have a source code base with a lot of re-directions (mostly #defines) I want to write a plugin that find the definition, and then automatically find all "references". I'm done with the "conversation", so from 10 I find SIZE_OF_HASHSTAG or etc, but can not start automatic(built in) find in files method.

I already tried:

where = 'my_src_dir'
args = { "panel": "find_in_files", "in_selection": "true", "where": where}
sublime.active_window().run_command("show_panel", args)

Ofc I could do it myself with a python script, but it would be easier if I could use the built-in.

0

There are 0 answers