Skip to content

Commit b06b95a

Browse files
#245: Enable reorganization support for VB, appears to be working in VS2015.
1 parent 14ce37e commit b06b95a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CodeMaid/Logic/Reorganizing/CodeReorganizationAvailabilityLogic.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ internal bool CanReorganize(Document document, bool allowUserPrompts = false)
6868
return false;
6969
}
7070

71-
if (document.GetCodeLanguage() != CodeLanguage.CSharp)
71+
if (document.GetCodeLanguage() != CodeLanguage.CSharp && document.GetCodeLanguage() != CodeLanguage.VisualBasic)
7272
{
7373
OutputWindowHelper.DiagnosticWriteLine($"CodeReorganizationAvailabilityLogic.CanReorganize returned false for '{document.FullName}' due to the document language not being supported.");
7474
return false;

0 commit comments

Comments
 (0)