alpha
Login
or
Join now
boltless.me
/
zoekt
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
fork of https://github.com/sourcegraph/zoekt
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
zoekt
/
web
/
at
5aa5206067e3d0163e260f8c6d344c65b540b701
8 files
Marc W.
feat(web): Add context lines to search results (#931)
1y ago
0978c13f
api.go
feat(web): Add context lines to search results (#931) This adds the before and after Lines in the search results. The default is still 0 so the user has to increase "context lines" to see more.
1 year ago
doc.go
Document all the commands + packages (#904) This PR adds doc comments for all packages/ commands.
1 year ago
e2e_test.go
all: run modernize across codebase (#919) The latest release of gopls has a feature called modernize which will update your code where it can to use modern go features/pkgs. https://github.com/golang/tools/releases/tag/gopls%2Fv0.18.0 Generated with: go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest -fix -test ./... Test Plan: CI
1 year ago
server.go
feat(web): Add context lines to search results (#931) This adds the before and after Lines in the search results. The default is still 0 so the user has to increase "context lines" to see more.
1 year ago
server_test.go
feat(web): Add context lines to search results (#931) This adds the before and after Lines in the search results. The default is still 0 so the user has to increase "context lines" to see more.
1 year ago
snippets.go
web: escape + as %2B in file path templates (#843) When constructing a shard we specify templates for constructing a URL. Finally those URLs end up going via html/template which has pretty strict escaping rules. This commit makes two changes: URL construction via text/template. We still get the safety benefits later on when finally rendering the output, but given we are constructing URLs it makes more sense to use text/template. Special escaping of + in URLs. I couldn't convince html/template to not break URls containing + in it. So instead we use + escaped to %2B. I tested gerrit, github and sourcegraph with %2B in filenames and they all worked. To do the above I introduced a template function called URLJoinPath which is a wrapper around url.JoinPath with the additional behaviour around + escaping. Test Plan: Did lots of updates in tests. See diff.
2 years ago
templates.go
feat(web): Add context lines to search results (#931) This adds the before and after Lines in the search results. The default is still 0 so the user has to increase "context lines" to see more.
1 year ago
trace.go
Move several packages to internal/ (#901) This PR moves the following packages to `internal` to avoid exposing them in the API: * `ctags` * `debugserver` * `gitindex` * `shards` * `trace`
1 year ago