very annoying behavior with Reformat Code with VB.NET

THIS:
Dim chartsDataSets As Dictionary(Of String, DataSet) = ServiceLocator.GetService (Of IReportDataProvider).GetReportChartDataSets(reportMetadataCharts)       
BECOMES THIS:
Dim _
       chartsDataSets As Dictionary(Of String, DataSet) = _
             ServiceLocator.GetService (Of IReportDataProvider).GetReportChartDataSets (reportMetadataCharts)



 


Why is this 3 lines? There is no need to put a linebreak after the Dim in this code. This makes Reformat Code pretty much unusable for me in my VB.NET projects as I have to go get rid of that extra linebreak every time I declare a variable. Please change this or at the very least make it an option.

Thanks,
Mike Gates

Please sign in to leave a comment.