cleidigh / ThunderKdB

Thunderbird Addon Code Knowledge Base
11 stars 7 forks source link

How to search for web extension events references #28

Closed opto closed 3 years ago

opto commented 3 years ago

I wanted to search for examples of webextension api events. They are declared as "events":

Unfortunately, I cannot use that as a search string: results are for returned 'events', not for '"events":'.

any workaround?

thanks, Klaus

cleidigh commented 3 years ago

hey Klaus Hope all is well unfortunately as absurd as it sounds gh searches ignore most punctuation characters absolutely absurd no! for one trick I try to use two words that mostly appeared together so I will experiment what might work and post shortly Christopher

cleidigh commented 3 years ago

K I think the closest trick is the following use two words no punctuation: schema events then filter for manifest.json

I am sure it would be helpful to have more source lines for each entry found I remember you asking for this, gh does not give this as an option unfortunately let me know if this works image

image

opto commented 3 years ago

thanks Christopher, that helped and did it.

Klaus