Visual Studio For Mac Code Collapse
We all are very much familiar with #region in Visual Studio that let us specify a block of code to categorized and allow to expand and collapse. With having a region name given, it is often easier to segregate the code module and keep on the code block which is required. Visual Studio Code Tips and Tricks 'Tips and Tricks' lets you jump right in and learn how to be productive with Visual Studio Code. You'll become familiar with its powerful editing, code intelligence, and source code control features and learn useful keyboard shortcuts.
I just downloaded a VSIX file from the Visual Studio Gallery.
How do I install it in Visual Studio?
slhck8 Answers
VSIX is a Visual Studio extension installer. You must have Visual Studio 2010 or newer in order to install them, but you should be able to install it by double-clicking the .vsix file. Alternatively you should be able to install it from within the VS Extension Manager (Tools->Extension Manger)
See more about VSIX files at Quan To's Visual Studio Extensibility blog
heavydheavydThe above answers didn't help me; I couldn't install it through the extension manager and there was not default application for .vsix. However, I needed to open it (right click >Open with...) with Microsoft Visual Studio Version Selector and it worked.
Visual Studio Code Collapse Regions
Small update:For VS 2013, you need the corresponding version of NuGet: http://visualstudiogallery.msdn.microsoft.com/4ec1526c-4a8c-4a84-b702-b21a8f5293ca.Otherwise, the version selecter will tell you it's already installed on all fitting versions.

To summarise, there are three options:
- Install via Extension Manager (Tools/Options)
- Install via Visual Studio Gallery.com (download and open directly or save then double-click)
- Install via 'xcopy' into %localappdata%MicrosoftVisualStudio10.0Extensions
If all the above options fail, try installing it from the command-line.Here's how (on StackOverflow):
VSIXInstaller.exe /quiet some_extension.vsix
You can find VSIXInstaller here (on your local PC - depending on the Visual Studio version replace 14.0 by the version you're using):
C:Program Files (x86)Microsoft Visual Studio 14.0Common7IDE
To display the installer dialog(s), remove the /quiet option.
Note:
To uninstall a VSIX extension, you need to know its vsixID (here is described how to get it), then you can use
VSIXInstaller.exe /uninstall:vsixID
To install/uninstall VSIX files for a specific Visual Studio version, use the switches
/skuName:nameand/skuVersion:version; you can see all options of the command line tool if you typeVSIXInstaller.exe /?in the developer command prompt.
Did you know that the VSIX is nothing more than a ZIP file. After double clicking on it, the VS selector prompts you for each installed version of Visual Studio to install it too. This is where vs picks an arbitrary folder name and unpacks the content to the %AppData%LocalMicrosoftVisualStudio##Extensions folder. So Benjol was partially correct save for unpacking the files from the VXIS(again which is a Zip).
VSIXInstallerinC:Program Files (x86)Microsoft Visual StudioInstallerresourcesappServiceHubServicesMicrosoft.VisualStudio.Setup.Service
I think you just reload Visual Studio after downloading the VSIX. During the launch Visual Studio looks for the VSIX file and incorporatesall the required changes.
Here are the instructions for Visual Studio Code.1 step
second step
Not the answer you're looking for? Browse other questions tagged windowsvisual-studio-2010visual-studio or ask your own question.
Seeing occasional dialogue about mono-sgen32 not optimised for my Mac
in Visual Studio for Mac Under InvestigationVisual Studio For Mac Code Collapse Game
Xamarin - Android - Saving *.axml file twice does not save the changes
in Visual Studio for Mac Under Investigation.Net Standard project does not show available NuGet package updates (VS 7.3.2 build 12).
in Visual Studio for Mac Fixed - Pending ReleaseVisual Studio Feedback SystemcommentedJul 29, '19
vs2017 for Mac Setup doesn't work, UI shows rectangles/boxes instead of text
in Visual Studio for Mac Under InvestigationUpgrade is problematic, no way to reinstall previous version
in Visual Studio for Mac Under InvestigationRegions does not fold on default
in Visual Studio for Mac Under InvestigationVisual Studio Feedback SystemcommentedJul 26, '19
Horizontal scrolling broken in code editor
in Visual Studio for Mac Under ConsiderationVisual Studio Feedback SystemcommentedJul 30, '19
Unable to get repository signature information for source https://api.nuget.org/Unable to get repository signature information for source
in Visual Studio for Mac Under InvestigationProblem with GoTo Definition and GoTo Implementation
in Visual Studio for Mac Under ConsiderationVisual Studio Feedback SystemcommentedAug 19, '19