Visual Studio 2013 always opens Properties window in category sorting

I'm pretty sure Microsoft changed something between Visual Studio 2010 - 2012/2013.

When I first open the Properties window in an instance of Visual Studio 2013, it is sorted by category by default, not alphabetically.

In 2010, I know that the sort was stored and remembered in a new VS instance. If I used to sort alphabetically before, it opened the Properties window in alphabetical sort order.

However, in 2013 it is always categorized by default. This is really annoying since my eyes are not being used to find properties in the long list of Windows.Forms control properties, for example.

Can anyone reproduce this issue and might even fix it?

+3


source to share


1 answer


Something is broken on your computer if it doesn't persist between VS sessions. It is always difficult to guess what it might be, you need to look for the reason why the current settings are not saved on your computer. There is one specific file that gets updated every time you exit VS, it records the value that you care about.

You will find it in C: \ Users \ YourName \ Documents \ Visual Studio 2013 \ Settings \ CurrentSettings.vssettings. Take note of the file's time stamp to make sure it is written. Use SysInternals Process Monitor, if necessary, to find out why the recording is not working. Or suppose it's a complex add-on that prevents VS from shutting down gracefully.

If absolutely necessary, you can edit the file yourself. Copy it to a .xml file so it's easy to reformat with Edit + Advanced + Document Format. The corresponding entry looks like this (edited for the desired position):



    <Category name="Environment_PropertiesWindow" 
            Category="{731a3cc7-de5e-49ca-9115-9a03e46624b0}" 
            Package="{7494682b-37a0-11d2-a273-00c04f8ef4ff}"
            RegisteredName="Environment_PropertiesWindow"
            PackageName="Windows Forms Designer Package">
        <PropertyValue name="PbrsAlpha">1</PropertyValue>
        <PropertyValue name="PbrsShowDesc">1</PropertyValue>
    </Category>

      

The value of the "PbrsAlpha" property specifies the sort, it is 1 for alphabetical sort, 0 for category sort.

+14


source







All Articles