News for hackers. Stuff that matters.
Re:Github1s – One second to read GitHub code with VS Code by KerrickStaley on Wednesday February 10, 2021 @01:55AM (#26086316)
GitHub search is notoriously poor, though—it can only match whole words (e.g. the query "FooBar" does not match the text "FooBarBaz"), and it doesn't support regexes.
Re:Github1s – One second to read GitHub code with VS Code by loganlinn on Wednesday February 10, 2021 @04:58AM (#26087339)
If anyone is looking for actually useful cross-repo search: https://grep.app/
Re:Github1s – One second to read GitHub code with VS Code by Ayesh on Wednesday February 10, 2021 @08:44AM (#26088884)
This is great, thank you.
Re:Github1s – One second to read GitHub code with VS Code by dathinab on Wednesday February 10, 2021 @04:56AM (#26087327)
And way worse it doesn't even keep word order and similar.

So searching for `fn foobar` will return any file containing the words `fn` and `foobar` not caring about you looking for `fn foobar`.

Then if you find what you want opening the preview doesn't jump to the right line in the file so I have to search again using "find in page".