Skip to content

Creating a extension for showing comment outlines #1194

Discussion options

You must be logged in to vote

Hi @AnasGrzor ,

As far as I remember, decorators are applied per line. This means, in order to have a box like representation, it would be required to create 3 different decorators:

  • one to the top line, with borders at top, left and right
  • one to the middle lines, with borders at left and right
  • one to the bottom line, with borders at bottom, left and right

This issue from 2019 (microsoft/vscode#78640) has a similar request and the direction was to split decorators

Even tho, I'm not sure it is possible to have the right borders, in the multiline comment, vertically aligned. Decorators tends to go only until the last character in the line, or the isWholeLline, but not a specific width. I…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@AnasGrzor
Comment options

@alefragnani
Comment options

Answer selected by isidorn
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants