Skip to content
This repository has been archived by the owner on Mar 26, 2021. It is now read-only.

color highlighting in vscode #56

Closed
jgroom33 opened this issue Oct 12, 2018 · 4 comments
Closed

color highlighting in vscode #56

jgroom33 opened this issue Oct 12, 2018 · 4 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@jgroom33
Copy link
Collaborator

Possibly add this to a readme.

Assuming Dark+ theme

using this plugin:
https://github.com/fabiospampinato/vscode-highlight

add these settings:

    "highlight.regexes": {
      "(Value\\(.*?\\))": {
        "regexFlags": "g",
        "filterFileRegex": ".*\\.strest\\.yml",
        "decorations": [
          { "color": "#9CDCFE" }
        ]
      },
        "(Env\\(.*?\\))": {
          "regexFlags": "g",
          "filterFileRegex": ".*\\.strest\\.yml",
          "decorations": [
            { "color": "#C586C0" }
          ]
        }
      }
@eykrehbein eykrehbein added the enhancement New feature or request label Oct 12, 2018
@eykrehbein
Copy link
Owner

Maybe a whole vscode extension would be even more useful

@eykrehbein eykrehbein added the help wanted Extra attention is needed label Oct 12, 2018
@jgroom33
Copy link
Collaborator Author

I considered that, but the grammars for yaml were a bit more complex than I cared to work on.

@eykrehbein
Copy link
Owner

I also came across this problem but I just cloned the vscode yaml highlighting from here but I don't really understand the syntax behind this

@jgroom33
Copy link
Collaborator Author

yup. That's what i didn't want to mess with.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants