I changed settings.json
, so that the current line is easier to see (dark green background):
But this highlighting disappears as soon as there is a selection.
For example I select the word "editor", and now the dark green background is gone:
How to highlight the current line (dark green background), even if there is a selection?
2
Answers
I can also reproduce this behavior, I agree with the comment answer. But FWIW, this highlight line extension may do what you are looking for!
Changing the setting
to
all
will help you "some". The line highlight in the gutter will remain even if something is selected in that line. Other than an extension, it is probably the best you can do.You can also tweak the line number color for a active line with this
colorCustomization
: