Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

👌 Matching styles for the “Highlight Matching Tag” extension? #20

Closed
ahmadawais opened this issue Oct 28, 2018 · 3 comments
Closed

👌 Matching styles for the “Highlight Matching Tag” extension? #20

ahmadawais opened this issue Oct 28, 2018 · 3 comments
Labels

Comments

@ahmadawais
Copy link
Owner

@ahmadawais ahmadawais commented Oct 28, 2018

Question

Do you have a matching style for using the “Highlight Matching Tag” extension?

Answer: YES

  1. Install Highlight Matching Tag extension.
  2. Add the following settings to your settings.json file
// SOP's highlight matching tag setting.
"highlight-matching-tag.styles": {
    "opening": {
        "full": {
            "highlight": "rgba(165, 153, 233, 0.3)"
        }
    }
},

Peace! ✌️

@kaosmos

This comment has been minimized.

Copy link

@kaosmos kaosmos commented Nov 2, 2018

@ahmadawais, as of Highlight Matching Tag version 0.8+ the styling options are changed.

This is the new equivalent code:

"highlight-matching-tag.styles": {
    "opening": {
      "full": {
        "custom": {
          "backgroundColor": "rgba(165, 153, 233, 0.3)"
        }
      },
      "left": {
        "custom": {
          "borderWidth": "0"
        }
      },
      "right": {
        "custom": {
          "borderWidth": "0"
        }
      }
    }
  }
@ahmadawais

This comment has been minimized.

Copy link
Owner Author

@ahmadawais ahmadawais commented Nov 2, 2018

@kaosmos you are right. I have updated the comment above. These styles were automagically migrated on update.

@ahmadawais

This comment has been minimized.

Copy link
Owner Author

@ahmadawais ahmadawais commented Apr 29, 2019

Before v0.9.1

// SOP's highlight matching tag setting.
"highlight-matching-tag.styles": {
		"opening": {
			"full": {
				"custom": {
					"backgroundColor": "rgba(165, 153, 233, 0.1)"
				}
			},
			"left": {
				"custom": {
					"borderWidth": "0"
				}
			},
			"right": {
				"custom": {
					"borderWidth": "0"
				}
			}
		}
	},

After v0.9.1

// SOP's highlight matching tag setting.
"highlight-matching-tag.styles": {
    "opening": {
        "full": {
            "highlight": "rgba(165, 153, 233, 0.3)"
        }
    }
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.