Search

Sort usings ignores comment header by MarkVanTilburg

Closed
as Fixed Help for as Fixed

1
0
Sign in
to vote
Type: Bug
ID: 759045
Opened: 8/22/2012 2:55:34 AM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
The "organize usings" context menu > sort usings does not sort correctyly
Details (expand)

Visual Studio/Team Foundation Server/.NET Framework Tooling Version

Visual Studio 2012

Steps to reproduce

/***
* Sample.aspx.cs
* $LastChangedBy: mark $
*
* $LastChangedDate: 2012-07-16 13:28:06 +0200 (ma, 16 jul 2012) $
* $Rev: 21842 $
***/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BusinessMonitor;

public partial class Sample : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
}

Rightclick the list of usings "organize usings" context menu and choose "sort usings"

Product Language

English

Operating System

Windows 7

Operating System Language

Dutch

Actual results

using BusinessMonitor;
/***
* Sample.aspx.cs
* $LastChangedBy: mark $
*
* $LastChangedDate: 2012-07-16 13:28:06 +0200 (ma, 16 jul 2012) $
* $Rev: 21842 $
***/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Sample : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
}

Expected results


/***
* Sample.aspx.cs
* $LastChangedBy: mark $
*
* $LastChangedDate: 2012-07-16 13:28:06 +0200 (ma, 16 jul 2012) $
* $Rev: 21842 $
***/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BusinessMonitor;

public partial class Sample : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
}
File Attachments
0 attachments
Sign in to post a comment.
Posted by Microsoft on 10/11/2012 at 10:26 AM
Thanks for your feedback. Unfortunately, at this stage in the product cycle we are unable to address this for the current release as we are only taking critical and high priority bug fixes. We have logged your suggestion and will take it into consideration for next version planning. Even though we cannot always act on every issue reported, we do like to hear feedback, so please don’t hesitate to file an issue.

Ala Shiban | Program Manager | Visual Studio Professional - Editor team
Posted by Microsoft on 8/22/2012 at 11:45 PM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by Microsoft on 8/22/2012 at 3:50 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.