sourcegraph / sourcegraph-public-snapshot

Code AI platform with Code Search & Cody
https://sourcegraph.com
Other
10.12k stars 1.29k forks source link

search: Implement static and dynamic completions inside predicates #32552

Open tsenart opened 2 years ago

tsenart commented 2 years ago

With the introduction of repo:dependencies() we implemented completions by re-using the existing dynamic repo functions. This is hacky. We should re-factor things to support static and dynamic completions for predicates with filters that are context dependent (e.g. the future repo:deps(of:foo scope:npm/dev)).

github-actions[bot] commented 2 years ago

Heads up @benvenker @lguychard - the "team/search-product" label was applied to this issue.