Skip to content

Enable multiline annotation markers in snippets #36

@LeonPuchinger

Description

@LeonPuchinger

Currently, certain sections of code can be annotated inside a snippet with a message. This message is attached to the snippet via an annotation marker, which highlights the section of code that the message belongs to. However, currently there is an issue when the annotation marker wraps around multiple lines. In that case an InternalError is raised and the snippet is not displayed. The affected function is called createAnnotationMarker in src/util/snippet.ts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions