-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
chore: environment highlight colour schema update #4464
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
Variables referenced in comments spanning multiple lines are not greyed out.
-
Comments within a string are considered valid, but a variable getting referenced appears greyed out. This is a very niche use case and a relatively lower priority.
We could revisit these in iterations as required based on evaluating the effort.
The HoppComments plugin has been remove since the codemirror A new approach is added where the syntax tree us generated of the view and checks if the tree has a node with BlockComment, if it exists the environment/ predefined highlight and tooltip is disabled. Both the issues have been fixed, ptal @jamesgeorge007 |
60a4337
to
6a61c90
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we not highlighting variables referenced in comment blocks?
6a61c90
to
42d5a01
Compare
yup it was removed, I don't think we need to highlight the commented env variable. |
93a261a
to
817b202
Compare
817b202
to
f93d046
Compare
Closes HFE-605 #4389
Before
After
This PR improves the colors on variables for multiple themes and improve contrast on codemirror.
What's changed
The text colour inside the env variable have been set to white and the syntax highlight has been removed from the env variable for commented line.