Something went wrong while fetching comments. Please try again.
Created by: mrnugget
This fixes the first half of https://github.com/sourcegraph/sourcegraph/issues/30970 by renaming the usePreciseCodeIntel
hook to useCodeIntel
and doing a fallback to search-based code intel when querying precise-code intel yielded no results. This does not yet mix search-based/precise results.
LanguageSpec
definitions copy&pasted from code-intel-extensions
Languagespec
to use for current documentLanguageSpec
to determine token boundaries and file extensionsfilterDefinition
is used by printing comparisons between filtered/unfiltered