Visual Studio 2015, installed font is not applied - visual-studio

I installed (as MS recommend) a font and tried to assign it into 'Options/Environment/Fonts and Colors' but doesn't work.
Lucida Console font applied:
InputMonoCondensed font applied:
Restarted Visual Studio and my computer without success, what could be wrong?
Notes:
OS: Windows 10 Pro
VS: Community 2015 v14 Update 3
.NET Framework: v4.6
All were installed and updated into a new computer.

This is actually a known issue documented on Input download website http://input.fontbureau.com/workarounds/
Here is the relevant part:
In certain configurations of Visual Studio (2010–2013), the default Input installation will not display at all, and instead you’ll see Courier. A workaround is to customize and download a four-style family (which will appear in your font menu as “Input”), rather than selecting from the whole family. Some users reported that they had to reboot their system for the change to take effect.
Solution is mentioned, on the download page http://input.fontbureau.com/download/ chose "Customize your download" option and select "Download a custom four-style family", based on InputMonoCondensed.
Install this font after downloading, and select the font named Input (just Input, not InputMono or InputMonoCondensed for instance) into Visual Studio options:
That's it!
Now you can edit using Input font, that's actually what I personally use.

Related

Font loading issue in Visual Studio 2019

I've recently installed the Fira Code font for Visual Studio 2019, version 16.6.3
The issue that I have is that after I shut down my computer, the font won't load properly unless I close VS and re-install it (and, when I do that, Windows also tells me that the font is already installed and I have to confirm that I want to overwrite it) in order to get it to load properly.
The confusing thing about this issue is that even when the font doesn't load correctly (it loads the default font instead) it stil appears to be properly selected in Tools > Options > Environment > Fonts And Colors.
I solved it by installing the font for all the users, which can be achieved by simply left clicking the .ttf file and selecting the "Install for all users" option.

Disable ligatures in Visual Studio

I found this question that is about enabling ligatures in Visual Studio, which appears to be automatic.
However, I don't like ligatures, so I was wondering if it is possible to disable them. I can't find anything in VS2017 or VS2019.
I also want to disable font ligatures in VS2017 today, then I found this link in MSDN community site. They say:
Currently, Visual Studio doesn’t have the ability to disable font ligatures in the editor, so the only option you currently have available is to chose a font that doesn’t provide ligatures.
I think they are foolish about this.
I ran into that issue in VS2022 aswell when tried to install Jetbrains Mono font. But it occured that jetbrains provides same font without ligatures, it's name is followed by 'NL'
Some time ago Microsoft created "Cascadia Mono" font, which is the same font as default in Visual Studio, but without ligatures.
You can download "Cascadia Mono" font from here:
https://github.com/microsoft/cascadia-code/releases
Install this font on your machine, restart Visual Studio, select "Cascadia Mono" font, and you will achieve the same result as "disabling" ligatures in VS.

Class names not coloured in Visual Studio 2012

I am evaluating Visual Studio 2012 and am having some problems with the color schema.
Sure enough I was able to overcome the initial discomfort by setting my color for the text editor.
One thing I have not been able to set corrent are the color for the class names.
Say you have a line like below.
Class name = new Class();
the entire line is in the same color, expect the new keyword.
I want the word 'Class' to be in a different color like in earlier versions of Visual Studio.
I am not able to set the color for this from the Option.
I have tried chaning color for all fields like plain text, literals, identifier, etc under
Tool -> Option -> Environment -> Font & Colors
but still I am not able to fix this.
I have also applied custome themes, those are also not helping.
I wouldn't want to install a productivity power tool for such basic preference right ??
Edit:
I'm on Windows 7 x64 and Visual Studio Professional 2012, Version 11.0.50727.1 RTMREL
The solution I found is a combination of the suggestions found in a mish mash of related threads:
Close Visual Studio and open the VS command prompt as an administrator. Navigate to the devenv.exe file (in Express versions it is titled something along the lines of *express.exe) usually located in C://Program Files (x86)/Microsoft Visual Studio 11.0/Common7/IDE.
Type devenv.exe /setup
Reopen Visual Studio. If everything is all colored now, great! If not, close the tabs and reopen them.
Performing all of step 3 is what has got my coloring to come back to normal.
Here is where I got the suggestions:
Visual Studio 2012 - Intellisense sometimes disappearing / broken
How can I get user type C# syntax highlighting working again in VS 2012 RC?
If you're using Productive Power Tools, go to => Tools -> Options -> Productive Power Tools. In main menu, TURN OFF the option: Colorized Parameter Help.
I solved my problem, I'm on Windows 8 Pro, Visual Studio 2012 Ultimate.
You're on the right track. Under Tools -> Options -> Environment -> Fonts and Colors, you want to change "User Types", first making sure at the top of the dialog that you are viewing the settings for the "Text Editor"
Although, by default with my install of Visual Studio 2012 these were already set, so you may want to try the "Use Defaults" button, unless you've made other changes that you want to keep.
go to the tools >Option click on enviroment navigation and click on import and export setting and copy the url and open directory from the url and delete all font and color file .which you got setting folder
The workaround provided by Donatas on Microsoft Connect works without having to turn off any option of Productivity Power Tools:
There is a workaround without turning off "Colorized Parameter Help".
Go to Tools > Options > Environment > Fonts and Colors in Display
items select "User Types (Value types)" click Custom next to Item
foreground color and in the color picker change Red, Green or Blue by
1, i.e. to make a custom color which basically looks the same. OK on
all the dialogs and problem solved.

Why is Visual Studio 2010 not saving Environment General settings?

My installation of VS 2010 does not appear to be saving settings in the Environment section (Recent files, show status bar checkbox, etc). Other settings do save properly, though (Auto Recover, etc).
Any ideas?
My Environment:
Windows XP
Visual Studio 2010 Ultimate, Team Explorer, TFS2010 Power Tools
Visual Studio 2008 and 2005 installed as well
Works on my XP laptop. The one difference between the two that I can think of is that I added the VS Theme extension on the workstation that I am having an issue on. Don't know if that fouled anything up in the registry.
When I modify the settings (like the number of items shown in Window menu input), the settings are not saved to the registry (HKEY_CURRENT_USER/SOFTWARE/Microsoft/VisualStudio/10.0/General/WindowMenuItemCount)
The fact that it's not saved to the registry would seem to indicate a larger problem than just VS. I would recommend using a tool like Process Monitor to see if it's attempting to write to the registry. Add a filter for devenv.exe and search for the registry key you're looking for. In this case, immediately after clicking okay after you set the number of "Recent Files - items shown in Window menu" in Tools->Options->Environment->General, you should see a write (Success) in the registry under that key (WindowMenuItemCount).

VS2010 Only show file names in tabs

My website has several nested folders and sometimes long file names, so sometimes only 4 tabs can be opened at a time.
Can vs2010 be made to show only file names and leave out any path information?
Can the max displayed length for tabs be set?
I know the window can be split so top and bottom both have their own tabs.
For example (using the "Visual Studio 2010 Pro Power Tools"):
Showing the files:
...r.aspx.cs
...s.aspx.cs
...s.aspx.cs
...s.aspx.cs
...s.aspx.cs
For example (not using the Visual Studio 2010 Pro Power Tools):
Showing the files:
Adminstration/...quests.aspx.cs
Adminstration/...tUsers.aspx.cs
Adminstration/...ctions.aspx.cs
Adminstration/...eBanks.aspx.cs
Try installing the "Visual Studio 2010 Pro Power Tools" extension from the Extension Manager in VS. It adds a new section to the standard option dialogue that allows you to customise what they call the "Document Tab Well."
It doesn't let you truncate the filename, but you can change the way they draw and scroll, which might be enough to help.
It does allow more tabs at a time, but it severly shortens the amount of file name you see. So while it allows editing more files, you won't know what file you are editing.
For now I'm using the trial version of Tab Studio
In VS2010, go to Tools - Extension Manager. Go to the online gallery and search for this extension:
Visual Studio 2010 Pro Power Tools
This extension, once installed, gives you extensive control over the document well, including setting a max tab width and much more. I love this extension, and have had zero issues customizing tab behavior to suit my preferences. Hope this helps.
Fixed in Visual Studio 2012
This has finally been fixed in Visual Studio 2012:
So i see:
PendingRequests.aspx (rather than ...r.aspx.cs)
ImportUsers.aspx.cs (rather than ...s.aspx.cs)
SearchTransactions.aspx.cs (rather than ...ctions.aspx.cs)
ImportTimeBanks.aspx.cs (rather than eBanks.aspx.cs)
Now if we could just get the entire Visual Studio ecosystem to:
return to the use of Left, Right arrows to navigate overflow tabs
open new tabs on the right
just like Windows has been doing in 1994, and Visual Studio would start to almost become a user-friendly Windows application.
I have been using this excellent extension for VS2010 that solve your problems: Visual Studio 2010 Pro Power Tools.
It is a bundle of several extensions, but the most notable for you is the Document Well 2010 Plus. It allows you to configure the document tabs: to be the constant width, colour-coded by project, pinned, etc...
You can toggle the extensions that you do not want by editing the manifest file in:
~\Local Settings\Application Data\Microsoft\VisualStudio\10.0\Extensions\Microsoft\Visual Studio 2010 Pro Power Tools\
#IanBoyd: I agree, it doesn't solve the problem 100% however it helps (which is why most of the answers to this question suggest it). With the Visual Studio 2010 Pro Power Tools add-on you can a) set the maximum tab width using one tab options, b) setup some colour categorizing rules to help differentiate between projects/file types.
In VS2010, my workflow relies upon several add-ons and keyboard shortcuts to manage my workspace; for example I use CTRL + Tab to switch between active documents, use the pin-tab feature and colour coding from Power Pro Tools, the open solution file dialog from Visual Assist X, and re-open last edited file from Resharper.
This has been answered already here:
Remove path from tab name in Visual Studio 2010
Install the productivity power tools extension and it should do it by default!
Cheers.

Resources