Class FormatCodeOptions
- Namespace
- Alternet.Common.TypeScript.Types
- Assembly
- Alternet.Common.TypeScript.v9.dll
Represents a rules that define formatting code behavior.
public class FormatCodeOptions
- Inheritance
-
FormatCodeOptions
Constructors
- FormatCodeOptions(bool)
Initializes a new instance of the
FormatCodeOptions
class with specified parameter.
- FormatCodeOptions(bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, int, int, int, string, bool, int)
Initializes a new instance of the
FormatCodeOptions
class with specified parameters.
Properties
- BaseIndentSize
Gets or sets number of space characters for base indentation.
- ConvertTabsToSpaces
Gets or sets a value indicating whether formatting should convert tabs to spaces.
- IndentSize
Gets or sets number of space characters for indentation.
- IndentStyle
Gets or sets style of indentation.
- InsertSpaceAfterCommaDelimiter
Gets or sets a value indicating whether space should be inserted after comma delimiter.
- InsertSpaceAfterConstructor
Gets or sets a value indicating whether space should be inserted after constructor.
- InsertSpaceAfterFunctionKeywordForAnonymousFunctions
Gets or sets a value indicating whether space should be inserted after function keyword.
- InsertSpaceAfterKeywordsInControlFlowStatements
Gets or sets a value indicating whether space should be inserted after keywords in the flow control statement.
- InsertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces
Gets or sets a value indicating whether space should be inserted after opening and before closing JSX expression braces.
- InsertSpaceAfterOpeningAndBeforeClosingNonemptyBraces
Gets or sets a value indicating whether space should be inserted after opening and before closing braces.
- InsertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets
Gets or sets a value indicating whether space should be inserted after opening and before closing brackets.
- InsertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis
Gets or sets a value indicating whether space should be inserted after opening and before closing parenthesis.
- InsertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces
Gets or sets a value indicating whether space should be inserted after opening and before closing template string braces.
- InsertSpaceAfterSemicolonInForStatements
Gets or sets a value indicating whether space should be inserted after semicolon in the for statement.
- InsertSpaceAfterTypeAssertion
Gets or sets a value indicating whether space should be inserted after type assertion.
- InsertSpaceBeforeAndAfterBinaryOperators
Gets or sets a value indicating whether space should be inserted before and after binary operator..
- InsertSpaceBeforeFunctionParenthesis
Gets or sets a value indicating whether space should be inserted before function parenthesis.
- InsertSpaceBeforeTypeAnnotation
Gets or sets a value indicating whether space should be inserted before type annotation.
- NewLineCharacter
Gets or sets character describes new line.
- PlaceOpenBraceOnNewLineForControlBlocks
Gets or sets a value indicating whether open brace should be inserted on new line for control blocks.
- PlaceOpenBraceOnNewLineForFunctions
Gets or sets a value indicating whether open brace should be inserted on new line for functions.
- TabSize
Gets or sets number of tab characters for indentation.