Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

"No hover information available" for search based code intel and custom search context #58006

@fkling

Description

@fkling

Steps to reproduce:

  1. Go to https://sourcegraph.com/contexts, set a custom default context.
  2. Open a link to a file in a repo that is not covered by the custom default context.
  3. Hover over any token that triggers search based code intel.

Expected behavior:

See search based code intel information.

Actual behavior:

"No hover information available"

This is because the code intel search query includes the currently selected search context, which defaults to the default search context (obviously). This causes issues when opening links to repos that are outside this context.

sg-default-context-code-intel-bug.mp4

Metadata

Metadata

Assignees

Labels

bugAn error, flaw or fault that produces an incorrect or unexpected result, or behavior.code-navigation

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions