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

highlight customizer comments #39

Closed
yannickbattail opened this issue Aug 30, 2022 · 3 comments
Closed

highlight customizer comments #39

yannickbattail opened this issue Aug 30, 2022 · 3 comments

Comments

@yannickbattail
Copy link

highlight in a different color comments that are Customizer parameter

code after // in the same line of variable initialization and tab name between /* [] */ should be in another color

example of code

string_enumeration = "value2"; // [value1, value2, value3]
string_enumeration_with_description = "value3"; // [value1:description1 , value2:description2, value3:description3]
/* [TAB_NAME] */
number_with_min_max = 1; // [0.5:3]
number_with_min_maxand_step = 1; // [0.5:0.1:3]
string_with_length="hello"; //10

Customizer doc

see example with vsCode extension
image

@ldenisey
Copy link
Owner

Added in #51.

@ldenisey
Copy link
Owner

Will be released in version 2.4.0 coming soon.

@yannickbattail
Copy link
Author

great! ❤️

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

No branches or pull requests

2 participants