Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kavehv opened this issue Jul 14, 2016 · 8 comments

Comments

@kavehv
Copy link

kavehv commented Jul 14, 2016

This would be great to have.

@ryu1kn
Copy link
Owner

ryu1kn commented Jul 15, 2016

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.

@agauniyal
Copy link

@ryu1kn
Copy link
Owner

ryu1kn commented Aug 11, 2016

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

@ryu1kn
Copy link
Owner

ryu1kn commented Aug 11, 2016

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

@razvanphp
Copy link

@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?

@ryu1kn
Copy link
Owner

ryu1kn commented Oct 10, 2016

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.

@santeriv
Copy link

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 :)

@OnkelTem
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants