Skip to content
This repository was archived by the owner on Apr 2, 2021. It is now read-only.
This repository was archived by the owner on Apr 2, 2021. It is now read-only.

Feature: Implement Goto Definition (textDocument/definition) handler #2

@bryphe

Description

@bryphe

This is tracking implementation of the textDocument/definition handler.

For Markdown files, this is especially useful when there is a relative URL called out, like:

[example](./examples/example.md). 

Ideally, when the cursor is over example, we could send a response that joins the path of the current file with the relative file path as the location.

In addition, it would be great to handle cases where an anchor/marker is specified, like:

[first example](./examples/example.md#first)

In this case, as part of the definition response, we should send a Range that corresponds to the first anchor in example.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions