https://github.com/hediet/vscode-colored-background.git
Colors the background of the code editor according to rules.
end \1).This extension contributes the following settings:
coloredBackground.rules: Array of rules.path: Regex for file path.startLine: Regex for start line.endLine: Regex for end line.color: Background color (hex, rgb, or theme color ID).poolId: ID of the color pool to use.coloredBackground.pools: Object defining color pools."coloredBackground.pools": {
"myPool": ["rgba(255, 0, 0, 0.1)", "rgba(0, 255, 0, 0.1)"]
},
"coloredBackground.rules": [
{
"path": ".*\\.ts",
"startLine": "describe\\(.*",
"endLine": "\\}\\);",
"poolId": "myPool"
},
{
"path": ".*\\.lean",
"startLine": "namespace (.*)",
"endLine": "end \\1",
"color": "editor.selectionBackground"
}
]
Initial release.