From 85ead49aac71002b5a2d9791ab6340ea1de53de9 Mon Sep 17 00:00:00 2001 From: Dominik Helm Date: Mon, 22 Jan 2024 17:34:39 +0100 Subject: [PATCH 1/6] Remove outdated formatting configs --- Scalariform Formatter Preferences.properties | 29 ----- scalastyle-config.xml | 120 ------------------- 2 files changed, 149 deletions(-) delete mode 100644 Scalariform Formatter Preferences.properties delete mode 100644 scalastyle-config.xml diff --git a/Scalariform Formatter Preferences.properties b/Scalariform Formatter Preferences.properties deleted file mode 100644 index ce1efacdb4..0000000000 --- a/Scalariform Formatter Preferences.properties +++ /dev/null @@ -1,29 +0,0 @@ -#Scalariform formatter preferences -#Fri Aug 01 16:36:46 CEST 2014 -alignArguments=false -alignParameters=true -formatXml=true -preserveDanglingCloseParenthesis=true -danglingCloseParenthesis=force -spaceInsideBrackets=false -indentWithTabs=false -spaceInsideParentheses=false -multilineScaladocCommentsStartOnFirstLine=false -alignSingleLineCaseStatements=true -compactStringConcatenation=false -placeScaladocAsterisksBeneathSecondAsterisk=false -indentPackageBlocks=true -doubleIndentConstructorArguments=true -compactControlReadability=false -spacesWithinPatternBinders=true -spacesAroundMultiImports=false -alignSingleLineCaseStatements.maxArrowIndent=50 -doubleIndentClassDeclaration=true -preserveSpaceBeforeArguments=false -spaceBeforeColon=false -# Unicode arrows are not supported anymore since Scala 2.13 -rewriteArrowSymbols=false -indentLocalDefs=false -indentSpaces=4 -firstArgumentOnNewline=force -firstParameterOnNewline=force diff --git a/scalastyle-config.xml b/scalastyle-config.xml deleted file mode 100644 index 604f24a237..0000000000 --- a/scalastyle-config.xml +++ /dev/null @@ -1,120 +0,0 @@ - - - Scalastyle OPAL Configuration - - - - - - - - - - - - - - - - - - scala_lang,java,scala,others,opalj - scala\.language\..+ - javax?\..+ - scala\..+ - ^(org.opalj).+ - org.opalj\..+ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - From 746153324da1964fcd0b746b7a52d180417032c1 Mon Sep 17 00:00:00 2001 From: Dominik Helm Date: Mon, 22 Jan 2024 17:34:55 +0100 Subject: [PATCH 2/6] Small adaptations to IDE formatter preferences --- Eclipse Java Formatter Preferences.xml | 2 +- ...J Java and Scala Formatter Preferences.xml | 32 ++++++++----------- 2 files changed, 14 insertions(+), 20 deletions(-) diff --git a/Eclipse Java Formatter Preferences.xml b/Eclipse Java Formatter Preferences.xml index 10c113db61..3618e2b857 100644 --- a/Eclipse Java Formatter Preferences.xml +++ b/Eclipse Java Formatter Preferences.xml @@ -1,6 +1,6 @@ - + diff --git a/IntelliJ Java and Scala Formatter Preferences.xml b/IntelliJ Java and Scala Formatter Preferences.xml index ddd8a217fd..6afedd35a8 100644 --- a/IntelliJ Java and Scala Formatter Preferences.xml +++ b/IntelliJ Java and Scala Formatter Preferences.xml @@ -1,5 +1,5 @@ - -