Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

[FR] Add ref to search results

Aberta
#1,173 2 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

  • #1307 de @Amresh-01 — fechado sem integrar

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
62/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Pouca atividade
Stack de tecnologia
typescript
Domínio
api, search

Direção de pesquisa

Start by tracing the POST /api/find_references endpoint and its search response shape, then inspect how GET /api/source consumes a ref. Ensure all search responses include refs that can retrieve the matching file contents later, and verify the endpoint behavior with the existing API checks.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

code search Feature

I would like POST /api/find_references to return the ref in the response and then be able to call GET /api/source to get the contents of the file with that ref.

I have some workflows that will perform searches and then lookup the contents later but if the code changes between then and when I get the contents those results do not match up.

All search responses should include refs.

Linguagem predominante
TypeScript
Estrelas
3.9k
Forks
374
Merge médio
1d 9h
PRs com merge (30d)
46

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de sourcebot-dev/sourcebot

Todas as issues de sourcebot-dev/sourcebot

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.