Add borders/outlines to entire matched block instead of each single line separately?
henrikvilhelmberglund opened this issue · comments
I love this extension!
I was wondering if it's possible to add borders/outlines to an entire block of multiple lines instead of each single line.
Right now I have a regex that matches for JS /* */ and adds a background color for the contents which looks something like this:
but with borders enabled it looks like this:
Is there a way to get the CSS styling for the entire block instead of the separate lines? The regex I have is "(\\/\\*.*?\\*\\/)": {
with gs
flags.
I don't think so. You should check what vscode allows for in terms of decoration, but I don't think this is possible
It seems like it's possible somehow (like in https://github.com/leodevbro/vscode-blockman) but probably not for this extension if the decorators are created line for line. Anyway, not a big issue!