Visual Studio vertical scroll bar markers hidden by resharper? - resharper

I am missing the markers for breakpoint and bookmarks in the vertical scroll bar of my Visual Studio. If I suspend my Resharper in the Visual Studio settings, then I can enable the missings marks by checking Scrollbars > Show annotations over vertical scroll bar > Show marks.
But if I enabled resharper again, my markers are gone again.
Why are the markers hidden by resharper?
How can I restore them?
Environment:
ReSharper Version: Ultimate 2020.1
Visual Studio Version:
Professional 2019 (Version 16.5.4)

Seems like you selected the Fix Silently value for the Do not show annotations over vertical scroll bar option here ReSharper | Options | Environment | Performance Guide. Change it to the Ignore value.

Even I don't use ReSharper at the moment and I had the option Show annotations over vertical scroll bar enabled for all languages, the bar markers were still hidden.
Image-1
The solution was to enable the 'Show annotations over vertical scroll bar` option for the language I use (C# in my case): Options->Text Editor->C#->Scroll Bars
Image-2

Related

Workspace Configuration Buttons missing in Xcode 12

In previous versions of Xcode, the workspace configuration buttons hide or show the optional navigator, debug, and utilities areas as shown in the Apple Docs here. They are missing in Xcode 12. Does anyone know if there is a way to make them reappear. I know that there are keyboard shortcuts for this functionality, but I have really grown accustomed to using the buttons.
All of these options are still available on xCode 12.
Workspace configuration buttons are moved to their respective sides.
Top right, top left and bottom debug area (If not visible then show from Menu bar > View > Show Toolbar & Menu bar > View > Debug Area > Show Debug Area)
The optional navigation and Editor configuration buttons are also there

Scroll Bar’s scrolling bar missing

Recently in my version of Visual Studio 2012 my scrollbar’s scrolling bar went missing in the code editor(text editor) and I need them back. It’s not the Tools->Options->Text Editor->Display Vertical Scroll bar and Horizontal Scroll bar check box issue. They are both checked and when they are not checked the bar does go away. The arrows in the scroll bar still work and I can move through the code and the page follows the cursor when moving through the code. I checked my other versions of Visual Studios on my computer and the bars are there.
Missing Hbar Missing Vbar
I tried repairing Visual Studio with no luck. I then tried uninstalling and reinstalling Visual Studio also no luck.
I had the same problem. I cleared it up simply by moving the file "Microsoft.VisualStudio.Default.cache" from my folder
%userprofile%\appdata\local\microsoft\visualstudio\11.0\ComponentModelCache.
It appears to have cleared up this "cached" behavior "preference". The neighboring folder
%userprofile%\appdata\local\microsoft\visualstudio\11.0\Extensions
had a couple other likely cache file culprits.
Although his solution to delete toolbox*.* files did not work for me, I was inspired by Roman Hnatiuk's resolution of a similar problem at
https://rhnatiuk.wordpress.com/2012/10/12/toolbox-scrollbar-disappeared-in-visual-studio/.
Go to Tools > Options > Text Editor > All Languages > Scroll Bars
Check the appropriate scroll bars
I'm using Visual Studio 2012 Express and i don't have the path in the answer of Paul Scofield. Yet, i have searched for the ComponentModelCache keyword in my %userprofile% folder and found it as "%userprofile%\AppData\Local\Microsoft\WDExpress\11.0\ComponentModelCache". Also found the "Microsoft.VisualStudio.Default.cache" file in the folder and deleted it. I can see the scroll bar now.
Posting as answer so that it might be usefull for other people like me.
In VS 2019 (maybe also earlier, didn't check), the vertical scrollbar has two modes: "bar mode" (the usual one) and "map mode" (the one where the code in the file is previewed).
For some reason, I had the "map mode" turned on by default, so I changed to "bar mode" by:
Tools -> Options -> Text Editor -> All Languages -> Scroll Bars -> Use bar mode for vertical scroll.
In Visual Studio 2022, I was using a split editor layout (two documents side by side). The one on the right had its horizontal scroll bar. The one on the left didn't have one.
Turns out that when I widened the left split pane, the horizontal scroll bar for that pane appeared. There had apparently not been enough space due to Git commit info in the status bar and the horizontal scroll bar disappeared instead. Seems like a bug or at least a poorly designed feature.

Show all tabs in Android Studio

Is there a way of showing all source code tabs in Android Studio one one horizontal line (in the tab bar) and scroll through them?
When there are too many source code tabs open in Android Studio, some of them are moved to the drop down list at the top right corner of the code edit window. The tabs that are moved to this drop down list are not shown in the tab bar any more.
The tabs in the tab bar can be scrolled with the mouse wheel, but only the ones that have not been moved to the drop down list.
Is there a way to remove the drop down list and keep all tabs in the tab bar?
Not sure if this feature was introduced in later versions of studio (than at the time of which this question was asked) but now you have option to show tabs in multiple rows. You can do so by
Windows -> Editor Tabs -> Tabs placement -> Show Tabs in single row
You can uncheck above which is checked by default. Snapshot below -
In android Studio 4.0.1 you can find tabs configuration in:
Window->Editor Tabs->Configure Editor Tabs...
After, uncheck "Show tabs in one row" checkbox if it is selected.
The size of the tab bar is fixed and there are only fixed number of tabs that can fit inside that limited area.So, one way to quickly switch between the open tabs is to use the SWITCHER tool of Android Studio.
Press control + tab in MAC (don't know the shortcut for windows) and it will bring all the classes and other files which are currently open and you can efficiently switch between them without even touching your mouse or touchpad.
For Linux you can do similar to MAC

How to set permanent Zoom factor in Visual Studio Editor 2012 tabs

If I set the zoom of a tab to 120%, then when opening new tabs, Visual Studio 2012 should open them with a 120% zoom factor and not 100% (the default).
But when reopening, Visual Studio the Zoom Percentage should be preserved (120%).
Is there is any way to solve the issue?
If you are simply zooming so the text in your editor is bigger, then why not just increase the font size?
Open TOOLS -> OPTIONS, under the 'Environment' tab select 'Fonts and Colors', and change the font size to whatever you want.
--edit--
As #Anovative pointed out in his comment and answer below, there is now a way to set default zoom within Visual Studio 2013 (and subsequent versions I'd assume).
Go to Tools > Extensions and Updates > then get the extension
VSCommands for Visual Studio 2013 ...if you're using VS2013
Then Tools > VSCommands12 > General > click the button Open Configuration.
Then close out of the Options window and in the VSC - Config tab that should be open go to the Zoom option and set your default zoom level. This will apply to all editor tabs. You can still zoom in or out of individual tabs as desired. But your default zoom will be preserved even after closing VS and will be restored upon starting VS.
This extension solve the problem
http://visualstudiogallery.msdn.microsoft.com/71870f0e-87bb-4a5f-8abd-e8e5e0ccb900
These tools do not solve the whole problem, but may help:
http://visualstudiogallery.msdn.microsoft.com/71870f0e-87bb-4a5f-8abd-e8e5e0ccb900?SRC=VSIDE
http://visualstudiogallery.msdn.microsoft.com/6a7a0b57-7059-470d-bcfa-60ceb78dc752/
Maybe this also helps:
Visual Studio 2010 default zoom level
Considering this Default Zoom question, the whole problem is not solvable (for VS up to 2010) :-/. From my point of view this is a really missing feature.
Edit: Solve the Post from Aditya Patil the problem?

How can I make Visual Studio window be highlighted when it is active?

I have difficulties seeing my Visual Studio 2012 window is active. Is there any way I can make the Visual Studio 2012 window behave like a standard window.
Visual Studio 2012 behavior (I can't tell the difference):
Active:
Inactive:
Standard window behavior (much easier to see when active):
Active:
Inactive:
I would like to avoid using the operating system high contrast setting if at all possible.
As #mandaleeka suggested I ended up using the Visual Studio 2012 Color Theme Editor extension.
But an even better highlighting option in my case is to change the "Main Window -> Caption" -> "Active" -> "Background" color.
Here is my resulting theme:
One workaround to this is to install the Visual Studio 2012 Color Theme Editor extension and modify one of the built in themes to change the inactive window border color.
After installing the extension, go to Tools -> Customize Colors. Select a theme to copy colors from, give it a name, and hit "Create". In the color editor, scroll down to the "Main Window" section and under "Inactive" change Border to something that stands out.
Here is an example:

Resources