GitHub: is it possible to search inside the code and sort by stars?

I am not sure if this is the right forum for this issue. I saw quite a lot of Q & A related to search on GitHub, so I posted it here. For instance. Search code inside a Github project

GitHubโ€™s advanced search allows you to use terms such as stars:>100 , but the query term is limited to repository names only. Is it possible to search for a term inside files (code) and sort by stars? My goal is to see which popular repositories use a particular keyword in their code. It would be very helpful if advanced search options for Repositories GitHub also worked for Code .

+10
source share
1 answer

When searching inside the code, it is impossible to sort by stars.

From an email from github.com support:

Search by code does not support sorting by the number of stars, but I will definitely add your +1 to this sentence inside! I canโ€™t say whether this change will happen or when it will happen, but your review is in the right hands.

+3
source

Source: https://habr.com/ru/post/970546/


All Articles