Search code examples
visual-studio

How turn-off Blue bar in on top of codespace in VisualStudio Community v17.13 Preview 1.0


After switching to Visual Studio Preview, I noticed a blue bar at the top of codespace, and clicking on it takes me to the first lines of the current file. The problem is that when I click on the highlighted links (CodeLens), the click seems to go to this area after moving to the definition and instead of displaying the definition of a method or class, I move to the first lines of the file in which this class or method is defined. Blue bar on top of codespace

How can I disable this blue bar?

P.S. this has nothing to do with Unity, it also appears in projects on NET.8 and in C++ projects


Solution

  • This feature is called Sticky scroll. You can disable it in the Options > Text Editor > General:

    enter image description here