コード例 #1
0
 internal PythonFormattingOptionsPage()
     : this(new OptionCategory(
                Strings.FormattingOptionsClassDeclarations,
                OptionCategory.GetOptions(CodeFormattingCategory.Classes)
                ))
 {
 }
コード例 #2
0
        public PythonFormattingWrappingOptionsPage()
            : base(
                new OptionCategory("Wrapping", OptionCategory.GetOptions(CodeFormattingCategory.Wrapping))
                )

        {
        }
コード例 #3
0
 public PythonFormattingSpacingOptionsPage()
     : base(
         new OptionCategory(Strings.FormattingOptionsCategoryClassDefinitions, OptionCategory.GetOptions(CodeFormattingCategory.Classes)),
         new OptionCategory(Strings.FormattingOptionsCategoryFunctionDefinitions, OptionCategory.GetOptions(CodeFormattingCategory.Functions)),
         new OptionCategory(Strings.FormattingOptionsCategoryOperators, OptionCategory.GetOptions(CodeFormattingCategory.Operators)),
         new OptionCategory(Strings.FormattingOptionsCategoryExpressionSpacing, OptionCategory.GetOptions(CodeFormattingCategory.Spacing))
         )
 {
 }
コード例 #4
0
        public PythonFormattingSpacingOptionsPage()
            : base(
                new OptionCategory("Class Definitions", OptionCategory.GetOptions(CodeFormattingCategory.Classes)),
                new OptionCategory("Function Definitions", OptionCategory.GetOptions(CodeFormattingCategory.Functions)),
                new OptionCategory("Operators", OptionCategory.GetOptions(CodeFormattingCategory.Operators)),
                new OptionCategory("Expression Spacing", OptionCategory.GetOptions(CodeFormattingCategory.Spacing))
                )

        {
        }
コード例 #5
0
 public PythonFormattingStatementsOptionsPage()
     : base(
         new OptionCategory(Strings.FormattingOptionsCategoryStatements, OptionCategory.GetOptions(CodeFormattingCategory.Statements))
         )
 {
 }
コード例 #6
0
 public PythonFormattingWrappingOptionsPage()
     : base(
         new OptionCategory(Strings.FormattingOptionsCategoryWrapping, OptionCategory.GetOptions(CodeFormattingCategory.Wrapping))
         )
 {
 }
コード例 #7
0
 public PythonFormattingStatementsOptionsPage()
     : base(
         new OptionCategory("Statements", OptionCategory.GetOptions(CodeFormattingCategory.Statements))
         )
 {
 }