|
|
@ -140,79 +140,54 @@ |
|
|
|
<Path path = "/SharpDevelop/ViewContent/TextEditor/C#/ContextActions"> |
|
|
|
<Path path = "/SharpDevelop/ViewContent/TextEditor/C#/ContextActions"> |
|
|
|
<!-- TODO: translate --> |
|
|
|
<!-- TODO: translate --> |
|
|
|
<CSharpContextAction id = "AddAnotherAccessor" |
|
|
|
<CSharpContextAction id = "AddAnotherAccessor" |
|
|
|
displayName = "Add another accessor" |
|
|
|
|
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.AddAnotherAccessor" /> |
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.AddAnotherAccessor" /> |
|
|
|
<CSharpContextAction id = "CheckIfParameterIsNull" |
|
|
|
<CSharpContextAction id = "CheckIfParameterIsNull" |
|
|
|
displayName = "${res:AddIns.SharpRefactoring.InsertCtor.AddCheckForNullLabel}" |
|
|
|
|
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.CheckIfParameterIsNull" /> |
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.CheckIfParameterIsNull" /> |
|
|
|
<CSharpContextAction id = "ConvertDecToHex" |
|
|
|
<CSharpContextAction id = "ConvertDecToHex" |
|
|
|
displayName = "Convert to hexadecimal" |
|
|
|
|
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.ConvertDecToHex" /> |
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.ConvertDecToHex" /> |
|
|
|
<CSharpContextAction id = "ConvertHexToDec" |
|
|
|
<CSharpContextAction id = "ConvertHexToDec" |
|
|
|
displayName = "Convert to decimal" |
|
|
|
|
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.ConvertHexToDec" /> |
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.ConvertHexToDec" /> |
|
|
|
<CSharpContextAction id = "ConvertForeachToFor" |
|
|
|
<CSharpContextAction id = "ConvertForeachToFor" |
|
|
|
displayName = "Convert to for loop" |
|
|
|
|
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.ConvertForeachToFor" /> |
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.ConvertForeachToFor" /> |
|
|
|
<CSharpContextAction id = "CreateBackingStore" |
|
|
|
<CSharpContextAction id = "CreateBackingStore" |
|
|
|
displayName = "${res:SharpDevelop.Refactoring.ExpandAutomaticProperty}" |
|
|
|
|
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.CreateBackingStore" /> |
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.CreateBackingStore" /> |
|
|
|
<CSharpContextAction id = "CreateEventInvocator" |
|
|
|
<CSharpContextAction id = "CreateEventInvocator" |
|
|
|
displayName = "${res:SharpDevelop.Refactoring.CreateOnEventMethod}" |
|
|
|
|
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.CreateEventInvocator" /> |
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.CreateEventInvocator" /> |
|
|
|
<CSharpContextAction id = "CreateField" |
|
|
|
<CSharpContextAction id = "CreateField" |
|
|
|
displayName = "Introduce field" |
|
|
|
|
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.CreateField" /> |
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.CreateField" /> |
|
|
|
<CSharpContextAction id = "CreateLocalVariable" |
|
|
|
<CSharpContextAction id = "CreateLocalVariable" |
|
|
|
displayName = "Introduce local variable" |
|
|
|
|
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.CreateLocalVariable" /> |
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.CreateLocalVariable" /> |
|
|
|
<CSharpContextAction id = "CreateProperty" |
|
|
|
<CSharpContextAction id = "CreateProperty" |
|
|
|
displayName = "Introduce property" |
|
|
|
|
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.CreateProperty" /> |
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.CreateProperty" /> |
|
|
|
<CSharpContextAction id = "FlipOperatorArguments" |
|
|
|
<CSharpContextAction id = "FlipOperatorArguments" |
|
|
|
displayName = "Flip operands" |
|
|
|
|
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.FlipOperatorArguments" /> |
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.FlipOperatorArguments" /> |
|
|
|
<CSharpContextAction id = "GenerateGetter" |
|
|
|
<CSharpContextAction id = "GenerateGetter" |
|
|
|
displayName = "Generate getter" |
|
|
|
|
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.GenerateGetter" /> |
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.GenerateGetter" /> |
|
|
|
<CSharpContextAction id = "GenerateProperty" |
|
|
|
<CSharpContextAction id = "GenerateProperty" |
|
|
|
displayName = "Generate property" |
|
|
|
|
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.GenerateProperty" /> |
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.GenerateProperty" /> |
|
|
|
<CSharpContextAction id = "GenerateSwitchLabels" |
|
|
|
<CSharpContextAction id = "GenerateSwitchLabels" |
|
|
|
displayName = "Generate switch labels" |
|
|
|
|
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.GenerateSwitchLabels" /> |
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.GenerateSwitchLabels" /> |
|
|
|
<CSharpContextAction id = "InsertAnonymousMethodSignature" |
|
|
|
<CSharpContextAction id = "InsertAnonymousMethodSignature" |
|
|
|
displayName = "Create anonymous method" |
|
|
|
|
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.InsertAnonymousMethodSignature" /> |
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.InsertAnonymousMethodSignature" /> |
|
|
|
<CSharpContextAction id = "IntroduceFormatItem" |
|
|
|
<CSharpContextAction id = "IntroduceFormatItem" |
|
|
|
displayName = "Introduce string.Format call" |
|
|
|
|
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.IntroduceFormatItem" /> |
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.IntroduceFormatItem" /> |
|
|
|
<CSharpContextAction id = "InvertIf" |
|
|
|
<CSharpContextAction id = "InvertIf" |
|
|
|
displayName = "Invert if" |
|
|
|
|
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.InvertIf" /> |
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.InvertIf" /> |
|
|
|
<CSharpContextAction id = "RemoveBackingStore" |
|
|
|
<CSharpContextAction id = "RemoveBackingStore" |
|
|
|
displayName = "${res:SharpDevelop.Refactoring.ConvertToAutomaticProperty}" |
|
|
|
|
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.RemoveBackingStore" /> |
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.RemoveBackingStore" /> |
|
|
|
<CSharpContextAction id = "RemoveBraces" |
|
|
|
<CSharpContextAction id = "RemoveBraces" |
|
|
|
displayName = "Remove braces" |
|
|
|
|
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.RemoveBraces" /> |
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.RemoveBraces" /> |
|
|
|
<CSharpContextAction id = "RemoveRegion" |
|
|
|
<CSharpContextAction id = "RemoveRegion" |
|
|
|
displayName = "Remove #region" |
|
|
|
|
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.RemoveRegion" /> |
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.RemoveRegion" /> |
|
|
|
<CSharpContextAction id = "ReplaceEmptyString" |
|
|
|
<CSharpContextAction id = "ReplaceEmptyString" |
|
|
|
displayName = "Use string.Empty" |
|
|
|
|
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.ReplaceEmptyString" /> |
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.ReplaceEmptyString" /> |
|
|
|
<CSharpContextAction id = "SplitDeclarationAndAssignment" |
|
|
|
<CSharpContextAction id = "SplitDeclarationAndAssignment" |
|
|
|
displayName = "Split declaration and assignment" |
|
|
|
|
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.SplitDeclarationAndAssignment" /> |
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.SplitDeclarationAndAssignment" /> |
|
|
|
<CSharpContextAction id = "SplitString" |
|
|
|
<CSharpContextAction id = "SplitString" |
|
|
|
displayName = "Split string literal" |
|
|
|
|
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.SplitString" /> |
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.SplitString" /> |
|
|
|
<CSharpContextAction id = "UseExplicitType" |
|
|
|
<CSharpContextAction id = "UseExplicitType" |
|
|
|
displayName = "Use explicit type" |
|
|
|
|
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.UseExplicitType" /> |
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.UseExplicitType" /> |
|
|
|
<CSharpContextAction id = "UseVarKeyword" |
|
|
|
<CSharpContextAction id = "UseVarKeyword" |
|
|
|
displayName = "Use 'var' keyword" |
|
|
|
|
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.UseVarKeyword" /> |
|
|
|
class = "ICSharpCode.NRefactory.CSharp.Refactoring.UseVarKeyword" /> |
|
|
|
</Path> |
|
|
|
</Path> |
|
|
|
</AddIn> |
|
|
|
</AddIn> |
|
|
|