@aurahelper/core
Advanced tools
Comparing version 2.6.1 to 2.6.2
# Change Log | ||
All notable changes to this project will be documented in this file. | ||
## [2.6.2 - 2022-07-12] | ||
### Added | ||
- Added new Apex Token types and new Apex Formater options | ||
## [2.2.4 - 2022-07-12] | ||
@@ -5,0 +9,0 @@ ### Added |
@@ -45,2 +45,4 @@ /** | ||
maxBlankLines: number; | ||
maxConditionsPerLine: number; | ||
conditionLogicOperatorOnNewLine: boolean; | ||
openCurlyBracketOnNewLine: boolean; | ||
@@ -55,2 +57,3 @@ addNewLineAfterCloseCurlyBracket: boolean; | ||
addWhitespaceBeforeOpenTriggerEvents: boolean; | ||
SObjectFieldsPerLine: number; | ||
} | ||
@@ -60,4 +63,6 @@ export interface ApexFormatterOperatorConfig { | ||
addWhitespaceAfterOperator: boolean; | ||
addWhitespaceBeforeOpenParenthesisOperator: boolean; | ||
addWhitespaceAfterOpenParenthesisOperator: boolean; | ||
addWhitespaceBeforeCloseParenthesisOperator: boolean; | ||
addWhitespaceAfterCloseParenthesisOperator: boolean; | ||
} | ||
@@ -77,4 +82,5 @@ export interface ApexFormatterMembersConfig { | ||
oneClausePerLine: boolean; | ||
oneWhereConditionPerLine: boolean; | ||
oneProjectionFieldPerLine: boolean; | ||
maxProjectionFieldPerLine: number; | ||
} |
@@ -47,2 +47,4 @@ "use strict"; | ||
maxBlankLines: 2, | ||
maxConditionsPerLine: -1, | ||
conditionLogicOperatorOnNewLine: false, | ||
openCurlyBracketOnNewLine: false, | ||
@@ -57,2 +59,3 @@ addNewLineAfterCloseCurlyBracket: false, | ||
addWhitespaceBeforeOpenTriggerEvents: true, | ||
SObjectFieldsPerLine: 1, | ||
}; | ||
@@ -68,4 +71,6 @@ }; | ||
addWhitespaceAfterOperator: true, | ||
addWhitespaceBeforeOpenParenthesisOperator: false, | ||
addWhitespaceAfterOpenParenthesisOperator: false, | ||
addWhitespaceBeforeCloseParenthesisOperator: false, | ||
addWhitespaceAfterCloseParenthesisOperator: false, | ||
}; | ||
@@ -104,2 +109,3 @@ }; | ||
oneProjectionFieldPerLine: false, | ||
oneWhereConditionPerLine: false, | ||
maxProjectionFieldPerLine: 0 | ||
@@ -106,0 +112,0 @@ }; |
@@ -169,2 +169,4 @@ export declare const ApexTokenTypes: ApexTokenTypesDef; | ||
PARENTHESIS_PARAM_CLOSE: string; | ||
PARENTHESIS_SOBJECT_OPEN: string; | ||
PARENTHESIS_SOBJECT_CLOSE: string; | ||
PARENTHESIS_DECLARATION_PARAM_OPEN: string; | ||
@@ -171,0 +173,0 @@ PARENTHESIS_DECLARATION_PARAM_CLOSE: string; |
@@ -171,2 +171,4 @@ "use strict"; | ||
PARENTHESIS_PARAM_CLOSE: "bracket.parenthesis.params.close", | ||
PARENTHESIS_SOBJECT_OPEN: "bracket.parenthesis.sobject.open", | ||
PARENTHESIS_SOBJECT_CLOSE: "bracket.parenthesis.sobject.close", | ||
PARENTHESIS_DECLARATION_PARAM_OPEN: "bracket.parenthesis.declaration.params.open", | ||
@@ -173,0 +175,0 @@ PARENTHESIS_DECLARATION_PARAM_CLOSE: "bracket.parenthesis.declaration.params.close", |
@@ -5,3 +5,3 @@ { | ||
"displayName": "Aura Helper Framework Core", | ||
"version": "2.6.1", | ||
"version": "2.6.2", | ||
"description": "Core libraries for Aura Helper CLI, Aura Helper Extension and the rest of @ah libraries. Contain Util classes, Aura Helper Datatypes, Process Manages and Utils values", | ||
@@ -8,0 +8,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1524668
23663