Reputation: 31178
In my project file extension is .ttcn
and all the function in that file start with testcase name_of_the_function
.
Is there any Sublime plugin exist that can list all the function that is start with keyword testcase
followed by test case name?
FYI, most of the common programming languages sublime list all the functions name with shortcut ctrl'r
. Thanks in advance for any suggestion or recommendation !
Upvotes: 1
Views: 52
Reputation: 102862
You can use the Find in Files functionality (Find -> Find in Files...
). In the Find:
field, make sure the first button (Regex
) is selected, as well as the last two (Context
and Use Buffer
), then enter ^testcase
. Add the directory you'd like to search in the Where:
field, and make sure the Replace:
field is empty. Hit the Find button, and a new tab will open showing all lines that begin with testcase
.
Upvotes: 2