Skip to content

Highlight annotated code using the same syntax setting as the original file. #1

Open

Description

@kavehv

This would be great to have.

Activity

  1. ryu1kn commented on Jul 15, 2016

    @ryu1kn
    Owner

    Yeah, this would be awesome, but as the annotation view is just a html and not a TextDocument I don't think I can easily make it. For now, I would just hope vscode someday introduce a function to let us have a left column in each textdocument. Then I would stop using html view, simply use a textdocument and feed the left column with the annotation.

  2. ryu1kn commented on Aug 11, 2016

    @ryu1kn
    Owner

    Haha. Well it seems there is at least a way though it would be a bit overkill :p

  3. ryu1kn commented on Aug 11, 2016

    @ryu1kn
    Owner

    For now, I would just hope vscode someday introduce a function to let us have a left column in each textdocument. Then I would stop using html view, simply use a textdocument and feed the left column with the annotation.

    This appears to be the feature request I also wanted: microsoft/vscode#9561

  4. razvanphp commented on Oct 10, 2016

    @razvanphp

    @ryu1kn Your feature request seems to be solved: microsoft/vscode#9561

    Does that mean that you now have everything you need in the API to use a TextDocument?

  5. ryu1kn commented on Oct 10, 2016

    @ryu1kn
    Owner

    The issue has been closed with the new feature for just switching the way to display line numbers; and that's not enough for Annotator to put annotations into gutter.

  6. santeriv commented on Sep 14, 2017

    @santeriv

    Thanks for getting vscode slightly better with this extension.

    +1 (this issue) , to be honest for me this is a must-have, not just could-have. Blame other IDEs out there :)

  7. OnkelTem commented on Jan 31, 2022

    @OnkelTem

    Is it still impossible to get it highlighted?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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