OneDark-Pro icon indicating copy to clipboard operation
OneDark-Pro copied to clipboard

Active linenumber colour highlighting property - and vim relative numbering highlights

Open irisida opened this issue 6 years ago • 12 comments

Describe what you want I would like to have the ability to use/set the "editorLineNumber.activeForeground": "#fffff" property. This would be exceptionally useful for vim mode users with relative line numbering which is a key part of the workflow for many.

The expected outcome would be that the current line and highlighting of the theme allows for default or user-selected highlight colour that differentiates from the other lines of the file and their respective line numbering.

Additional context attached a screenshot showing the relative numbering setup and hopefully, it demonstrates why the highlighting would be useful.

An even further incredible addition/extension to above would be to be able to highlight the tenth line either side with a different colour too. Or all multiples of ten thereafter, as an additional visual/cognitive easing. But it's probably most useful to people with a relative line numbering setup so may not be as mainstream as the first part of the request for the current line number highlight. onedarkprolines

irisida avatar Nov 22 '20 22:11 irisida

Looks like this commit cause the following line number coloring:

Screenshot at 2020-11-25 10:20:43

I think that such coloring doesn't fit for OneDarkPro theme, does it?

yh-sb avatar Nov 25 '20 08:11 yh-sb

#fffff instead of #ffffff

image

ghost avatar Nov 25 '20 08:11 ghost

will fix it soon~

Binaryify avatar Nov 25 '20 08:11 Binaryify

Thanks. Not a deal-breaker at all, but it's a very useful addition for that mode/workflow.

Much appreciated.

irisida avatar Nov 25 '20 08:11 irisida

The selected color is too bright and distracting:

image

I'll fix it in my User Settings, but I still think you should have used something like #abb2bf:

image

ghost avatar Nov 25 '20 09:11 ghost

Maybe #999999 ?

yh-sb avatar Nov 25 '20 09:11 yh-sb

@r44083 i think #abb2bf is better, but user still can use custom color

Binaryify avatar Nov 25 '20 09:11 Binaryify

Definitely better to allow custom colour.

irisida avatar Nov 25 '20 10:11 irisida

just release a new version~

Binaryify avatar Nov 25 '20 10:11 Binaryify

updated to 3.9.11

Still doesn't show up. I'm afraid. Also removed my initial override in case that was cancelling it. No joy thus far. Have restarted VSC twice. Screenshot 2020-11-25 at 10 15 21

irisida avatar Nov 25 '20 10:11 irisida

@irisida did you set editor.renderLineHighlight to "all"

Binaryify avatar Nov 25 '20 10:11 Binaryify

I hadn't no. I have now and hey presto! It's even more fabulous than I'd hoped.

Thank you! (starred the repo. You people are all kinds of awesome)

irisida avatar Nov 25 '20 10:11 irisida