Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Optional italic decorators and/or configurable margin #175

Open
Strikeless opened this issue Nov 26, 2022 · 0 comments
Open

Optional italic decorators and/or configurable margin #175

Strikeless opened this issue Nov 26, 2022 · 0 comments

Comments

@Strikeless
Copy link

Hey, the extension is great and does exactly what it says. I could try to implement this feature myself, but I have zero experience with developing vscode extensions. Onto the suggestion now.

Is your feature request related to a problem? Please describe.
It would be nice to have the option to make the decorators italic. In my opinion this looks nice, and makes it slightly more distinguishable from the actual content in the editor. As a bonus configurable margin for the decorators would be great too.

Describe the solution you'd like
Simple setting entries allowing the said behaviour, here's an example from settings.json of achieving such on the Error Lens extension:
"errorLens.fontStyleItalic": true, "errorLens.margin": "10ch"

Describe alternatives you've considered
Maybe the italic font could also be achieved with a tag based approach, similar to HTML's i or em tags. Not sure how intuitive that would be...

Additional context
This doesn't necessarily seem that useful of a feature with the default emoji decorators, but it can have an effect with other decorators, such as my incompatibleDecorator "latest: ${version}". Would also help with visual consistency regarding other extensions such as Error Lens where such behaviour can be achieved easily.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant