sourcegraph / zoekt

Fast trigram based code search
Apache License 2.0
736 stars 83 forks source link

feature request: option for opening search results in a new tab by default #787

Closed krisdock closed 5 months ago

krisdock commented 5 months ago

we're using zoekt within an iframe in our developer portal, but github results can't be opened directly because gh blocks framing. having the option to set "resultLinksNewTab" (or something) would be awesome.

keegancsmith commented 5 months ago

We won't add a specific option for this. However, we already support completely changing the templates used for every page. So the way to do this would be to specify the -template_dir argument to zoekt-webserver. You can dump the default templates (so you can modify them) with -dump_templates argument.