VS2010 Disable display in xaml (or completely disable selection)

In Visual Studio 2010, how can I turn off exposition in XAML files, please? Or it’s even better to just turn it off, fully expounding everything.

Every time I move the mouse from the editor area to Solution Explorer, the mouse crosses this stupid outlined widget and causes half of the editor to start flashing, this is the most annoying thing.

+7
source share
1 answer

I have not tried, but I believe that the installation

<Category name="XAML_Formatting" Category="{dac05320-0c3a-4ead-a332-8c23b0cfc130}" Package="{e58c2a8b-bcc4-4559-ad59-d62eb6d58a22}" RegisteredName="XAML_Formatting" PackageName="Microsoft.VisualStudio.Xaml"> <PropertyValue name="AutoOutlining">False</PropertyValue> </Category> 

in your settings file Visual Studio (.vssettings) should work.

To completely disable selection, you need to set a few more variables in this file to false.

An example vssettings file is available here , although this is not a recommended configuration or just an example.

<PropertyValue name="EnterOutliningModeOnOpen">0</PropertyValue> for C # and J # sections

<PropertyValue name="AutoOutlining">False</PropertyValue> for XML

<PropertyValue name="Outlining">False</PropertyValue> for Basic (I assume VB)

The following values ​​are for C and C ++.

 <PropertyValue name="EnterOutliningModeWhenFilesOpen">false</PropertyValue> <PropertyValue name="AutomaticOutliningOfStatementBlocks">false</PropertyValue> <PropertyValue name="AutomaticOutliningOfPragmaRegions">tfalse</PropertyValue> 

Regarding the GUI method of disabling display for different languages ​​in Visual Studio, see here .

Alternatively, you can implement a custom language service in which it is disabled, and it is configured to override all language settings as part of your Visual Studio settings file. Although this approach is probably more of a problem than it is worth it.

+6
source

All Articles