Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Cleanup - Incorrect format (additional spaces) #585

Open
DennyHW opened this issue Jun 5, 2024 · 0 comments
Open

Code Cleanup - Incorrect format (additional spaces) #585

DennyHW opened this issue Jun 5, 2024 · 0 comments

Comments

@DennyHW
Copy link

DennyHW commented Jun 5, 2024

Starting from this code, when i run code cleanup features, additional spaces are added to the selected lines

immagine

This is the result

immagine

The code is from a TableExtension of "Requisition Line"

modify("Currency Factor") { trigger OnBeforeValidate() begin if Rec.IsPurchaseRequest() then begin Rec."Currency Factor" := xRec."Currency Factor"; // Skip Direct Unit Cost assignement if (Rec."Currency Code" <> '') and (Rec."Currency Factor" = 0) and (Rec."Direct Unit Cost" = 0) then Rec."Currency Factor" := 1; // Skip Testfield end; end; }

Those are the settings I'm using:

"alOutline.defaultRemoveEmptySectionsSettings": {
"removeActionGroups": true,
"removeActions": true,
"ignoreComments": false
},
"alOutline.defaultAppArea": "All",
"alOutline.defaultDataClassification": "CustomerContent",
"alOutline.codeCleanupActions" : [
"AddEnumValuesCaptions",
"AddObjectCaptions",
"AddTableFieldCaptions",
"AddMissingParentheses",
"ConvertObjectIdsToNames",
"FixIdentifiersCase",
"FixKeywordsCase",
"MakeFlowFieldsReadOnly",
"OneStatementPerLine",
"RemoveStrSubstNoFromError",
"RemoveProceduresSemicolon",
"TrimTrailingWhitespace"
],
"alOutline.fixCaseRemovesQuotesFromDataTypeIdentifiers": false,
"alOutline.fixCaseRemovesQuotesFromNonDataTypeIdentifiers": true,

"alOutline.codeActionsOnSave": ["OneStatementPerLine"],
"alOutline.fixCodeCopMissingParenthesesOnSave": true

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants