Skip to content

Standard file symbol syntax #238

Open
@varungandhi-src

Description

@varungandhi-src

(Converted from Slack thread)

I was thinking maybe we should just go ahead and add a standard "file symbol" syntax to SCIP so that you can emit occurrences which are references to a file rather than some fake occurrence within the file.

For some languages, there are no package declarations at the top of a file, and we want to be able to emit references to files for import statements. In the past, we've relied on hacks, which don't work when the client tries to do something principled. https://github.com/sourcegraph/sourcegraph/issues/59733#issuecomment-1945520000

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions