question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is there a way to turn off Hidden Selection Indicator?

See original GitHub issue

First of all, thank you so much for making this plugin, I love Kakoune, and being able to have a Kakoune-like experience in VSCode is awesome!

For the hidden selection indicator, this feature is good but I tend to use pageUp/pageDown a lot and sometimes the indicator leaves some trace on the screen for a while, making the scrolling experience not smooth, and I rarely need it for now.

I tried to turn it off by setting hiddenSelectionsIndicatorsDecoration to null or remove it, but nothing works:

"": {
  "hiddenSelectionsIndicatorsDecoration": null
}

Is this the right way to turn it off?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
71commented, Jul 17, 2021

There was also an issue within Dance where the indicator couldn’t be disabled. This was fixed in 08199c526eda61ab15cc605beb3cabc4c17e644e.

While waiting for https://github.com/microsoft/vscode/issues/126972 to get fixed, you can specify this for each mode individually:

"dance.modes": {
  "normal": {
    "hiddenSelectionsIndicatorsDecoration": {}
  },
  "insert": {
    "hiddenSelectionsIndicatorsDecoration": {}
  },
}

Note that {} is used rather than null. In Dance modes configuration, null means “inherit from the "" mode”, so we need another value to represent “disable this.”

0reactions
71commented, Oct 19, 2021

Update: with f22f60363ea7e3714e328f45047402ebd26ee319, you can write

"dance.modes": {
    "": {
        "hiddenSelectionsIndicatorsDecoration": {
            "after": {
                "color": "$list.warningForeground",
                "fontStyle": "inherit; margin-right: 100vw",
            },
            "isWholeLine": false,
        },
    },
},

It uses a hack I first saw in vscode-power-mode to add arbitrary style to decorations.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hiding/Disabling an Indicator - MultiCharts Forum For Traders ...
To enable or disable an indicator, simply click on the name of that indicator on the chart. The indicator will then get a...
Read more >
IOS7 UIPickerView how to hide the selection indicator
I solved this by a simple trick: Place picker view in a view, and set clip subviews property of this ...
Read more >
GPO to disable INPUT INDICATOR in Settings on Win10 1803
So if you want to remain other languages, you can disable Input Indicator by this way: Right click Windows logo-> Settings-> Personalization-> ...
Read more >
iOS : IOS7 UIPickerView how to hide the selection indicator
iOS : IOS7 UIPickerView how to hide the selection indicator [ Gift : Animated Search Engine : https://bit.ly/AnimSearch ] iOS : IOS7 ...
Read more >
Hide all indicators of selected row / cell - DevExpress Support
Hi, I'm wanting to display some data from a dataset - but I'm wanting to hide all evidence of rows or row selection...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found