I have Visual Studio installed in one PC in which text editor is format redundant code by color (as shown in the screen shot).
I want to activate this in visual studio copy installed on another PC.
That is not a Visual Studio feature, it is one of ReSharper Code Inspection features, hence you'll need to install ReSharper on the computer where you'd like to see this code coloring...
This is a visual studio (mine is 2015) feature and should be enabled. By default it should be enabled, but am not sure what version of visual studio you are using. You can enable it by going to Visual Studio -> Tools menu -> Options
Related
So I have had visual studio 2019 and I used it with unity. I needed to delite it and reinstall it becouse of somthing and when I reinstalld it I installed new 2022 version. Ever since auto complete isn't working.
I have downloaded the "Game development with Unity" modifyer and selected Visual Studio Community 2022 in unity preferences but it still isn't working.
Does anyone have an idea what is wrong maby?
In the Unity Editor, select the Edit > Preferences menu. On the left, select the External Tools tab.
Select Browse... from the dropdown list.
Navigate to the C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE directory and select devenv.exe. Then select Open.
Close the Preferences dialog to complete the configuration process.
And make sure that you have Microsoft Visual Studio installed in package manager:
check this link: https://learn.microsoft.com/en-us/visualstudio/gamedev/unity/get-started/getting-started-with-visual-studio-tools-for-unity?pivots=windows
there are 2 fixes that I think will help you:
You need to enable IntelliSense by opening Tools -> Options -> Search for Intellisense, and head over to the C# Section and enable features like Show completion list after a character is typed.
For good practice, you should also install the C# packages for Visual Studio 2022.
I do have a TFS Project (TFS 2013) and I would like to set up my Visual Studio 2015 to work at that project. I have Visual Studio 2017 and Visual Studio 2015 installed. Now whenever I go to the main page of my Project and click "Open in Visual Studio" (like described here), Visual Studio 2017 opens. I would like to have it open in VSTO 2015. How can I select which version of Visual Studio should open?
The solution file should contain a UTF-8 signature that describes in which version the solution is to be opened. This is what's used for example to show different icons for solution files targeting different Visual Studio versions.
This signature info is also used by the Visual Studio Version Selector when opening a solution. An easy way to fix this is make sure that have the solution local on your dev machine and then right click -> open with and choose the Visual Studio Version Selector. Then pick the correct version of Visual Studio that you want to use.
This will then be honored by your browser when opening a solution since this also uses the Visual Studio Version Selector.
I downloaded the FiraCode font's and have selected that as my font in Visual Studio. However the ligatures are not showing and the wiki doesn't have any special instruction for visual studio, although they imply it works because it is listed in their WORKS column for editor support.
https://github.com/tonsky/FiraCode/
Anyone have the missing step(s) to display the ligatures in visual studio 2015?
Before it will work you will need to close and restart Visual Studio.
I ran into the same problem and this fixed it (details)
After installing the font and restarting Visual Studio, it works for the most part. The way that Visual Studio handles tokenization in the syntax highlighting breaks the ligatures containing dashes (such as <!-- -->).
I installed Productivity Power Tools for Visual Studio 2012 and I guess one feature is either missing or turned off. I mean the tooltip that appears when howering on the classname and method name.
Here are the screens of what I mean. This is from VS 2010.
How can I turn on the same feature in the Visual Studio 2012 or is it just removed from this version of IDE?
The Solution Navigator has been incorporated into Visual Studio 2012 and is no longer part of the Productivity Power Tools extension. There also doesn't seem to be any way to enable interactive tooltips.
i've created binding for Visual Studio's Edit.BriefBookmarkDropx commands:
Edit.BriefBookmarkDrop1: Ctrl+Shift+1
Edit.BriefBookmarkDrop2: Ctrl+Shift+2
Edit.BriefBookmarkDrop3: Ctrl+Shift+3
...
Edit.BriefBookmarkDrop9: Ctrl+Shift+9
Using Tools -> Options -> Keyboard:
Except that when i hit Ctrl+Shift+2, nothing happens:
i know Microsoft likes to obfuscate Visual Studio features. What's the secret trick that i'm missing?
Note: i am installed DPack into Visual Studio Professional - an addon that provides brief bookmarks (and a number of other essential features). Do not confuse this for an answer to my question:
you cannot install addons into Visual Studio Express
you cannot install addons into the Visual Studio Shell
my question isn't about addons
Bonus Reading
MSDN: How to: Use Bookmarks with Brief Emulation (Visual Studio 2008)
Numbered Bookmarks addon for Visual Studio 2005
DPak Numbered Bookmarks
It took four years, but i figured it out. Everything i was doing was correct. The only issue is that Visual Studio is stupid. Here's how to configure Visual Studio to drop a Brief bookmark:
How's that different from what i showed in the question?
Fails Use new shortcut in: Global
Works Use new shortcut in: Text Editor
By default any keys you bind in the Global space do nothing.
Which begs the question why the option is there, and the default? But usability is not something Visual Studio team prides itself on.