Starting from Visual Studio 2015, the extensions SDK supports showing an infobar on top of a document window: see https://msdn.microsoft.com/en-us/library/mt300796.aspx#BKMK_Infobars.
Unfortunately that functionallity is not available for VS2010.
As our extension also needs to support older Visual Studio versions, starting from Visual Studio 2010, is there another possible solution to show an infobar on top of a document window?
I tried to use margins, to dynamically show an info bar. But that doesn't work well. It looks like Visual Studio doesn't like the fact that I'm changing the size of the margin when I show/hide an item in the infobar margin.
Related
How does one turn off grey suggestions in Visual Studio 2022, but keep the table below?
Depending on used version of VS 2022 (mine is 17.0.1, not preview), you can go to Tools->Options->IntelliCode and disable Show completions for whole lines of code option
Another option can be found in Controlling Whole line completions docs
Just use small button near Zoom drop-down in the left bottom corner of main editor
You can disable that "IntelliCode Code Completions" feature in Visual Studio 2022 by going to Tools ==> Options ==> Preview Features and uncheck Enable all IntelliCode preview features
See: Visual Studio IntelliCode Whole line completions
See also: https://visualstudio.microsoft.com/services/intellicode/
Note: We have several Preview features which are off by default and
can be enabled through the Tools > Options > IntelliCode page.
I've downloaded the preview version of Visual Studio 2019 and the title bar is disabled by default.
This doesn't work for me as I currently develop C# applications using multiple instances of visual studio at a time, and I like knowing what window relates to which solution, and whether I am running with elevated privileges.
I've found that I can re-enable the title bar by going to the 'Preview Features' section in options, but this will obviously not be in the real release of Visual Studio 2019.
I've searched online, but have only found feature requests to not remove the title bar.
Is there currently any way to re-enable the title bar in VS 2019 (that is not related to the preview features option)?
It appears that some time around March 2019 the option to restore the title bar through a setting in the IDE was restored. I can confirm that the option remains in the latest release and preview versions of Visual Studio as of June 2019.
Go to:
Tools > Options > Environment > Preview Features
and untick
"Use compact menu and search bar (requires restart)"
Then click "OK" and restart Visual Studio.
If the setting gets removed again, it may still be possible to fall back to editing the file CurrentSettings.vssettings. Change:
<PropertyValue name="IsMinimalVsEnabled">True</PropertyValue>
to
<PropertyValue name="IsMinimalVsEnabled">False</PropertyValue>
Look for the file in %LOCALAPPDATA%\Microsoft\VisualStudio\16.0_xxxxxxxx\Settings\CurrentSettings.vssettings (where 16.0_xxxxxxxx will be the version you have installed).
The option can be found under "Preview Features" in Options. No idea why that got into the GA release.
Just unselect the compact menu option and restart VS.
In VS 2022, this setting has moved to Tools --> Options... --> Environment --> General.
I want to use Angular in Visual Studio. I have currently Visual Studio 2017.
I need to install something by using the command palette, but there is not command palette in Visual Studio. I used ctrl+shift+p or ctrl+p combinations, and then nothing happened. I also checked the View section, and there is no integrated command line section or anything else.
Visual Studio 2022 has a feature similar to a command palette, called QuickLauncher. You can open it by pressing Ctrl+Q by default or change the keyboard settings to use Ctrl+P, which is what I did for my setup.
(Default Shortcuts in Visual Studio)
Command pallete only available for Visual Studio Code, https://code.visualstudio.com/. You have installed the wrong one. For Angular development I highly recommend Visual Studio Code, not the full fledged heavy Studio 2017. Please use the link I posted above.
There is GoTo All(Ctrl + Q) option in visual studio which has similar features like file search, other interesting features for code navigation, some command execution like pull, start, run tests etc.
It's not exactly the one found in Visual Studio Code(Different IDE), its getting pretty close with time.
For example there are many missing like 'start current page application' which can set in Tools -> Options -> Keyboard.
There is a ticket raised for Visual Studio to implement this feature long back and it seems it had been considered by Visual Studio team.
https://developercommunity.visualstudio.com/idea/460947/command-palette.html
I am using visual studio 2015 IDE for development & developing windowsforms and using C# language but Crystal Report Viewer missing from ToolBox in Visual Studio 2015.
I googled it and found solution-->
Open Control Panel > Programs > Programs and Features, and select the entry for your version of Microsoft Visual Studio 2015. In our case, it was Microsoft Visual Studio Enterprise 2015.
Click the "Change" button on the top bar above the program list.
After the splash screen, a window will open. Press the "Modify" button.
Select Windows and Web Development > Microsoft SQL Server Data Tools, and check the box next to it.
Press the "Update" button on the lower-right hand side of the window.
Once the installation is complete, open your version of Visual Studio. After the new .dll files are loaded, Reporting functionality should be reimplemented, and you should be able to access all related forms, controls, and objects.
It solved the problem to some extent but still missing CrystalReportViewer & CrytalReportDocument from ToolBox in Visual Studio.
The image is given below after updating the Visual Studio Enterprise 2015.
I'm starting out with Xamarin and am finding Visual Studio to have many pitfalls :(
I clicked the "X" button on the left/right hand side tabs and they've vanished ... now I can't find how to recover them!
How can I show the "Solution", "Document Outline", "Unit Tests", "Toolbox" & "Properties" tabs in the following situation (as I'm about to reinstall the software :/)
Please, look at the image below.
In the latest version of Visual Studio (Enterprise 2017) it has moved a little bit.
It is now under: View -> Other Windows -> Document Outline
Or you can use the shortcut Ctrl+W, U