-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
plugin settings not loading #492
Comments
Which IntelliJ version do you use? |
Hi. I have the exact same issue. Here are the version details:
I have a project open via the JetBrains Gateway and detekt cannot start with the above exception. |
Hello, I have a similar problem. I am using Detekt Plugin version: Just have another question, if I don't set Enable formatting (ktlint) rules, the autocorrect doesn't work. Is this behavior expected? Or my setting is wrong 🙏 autoformat fileformatting:
active: true
android: true
autoCorrect: true
AnnotationOnSeparateLine:
active: true
autoCorrect: true
indentSize: 4
AnnotationSpacing:
active: true
autoCorrect: true
ArgumentListWrapping:
active: true
autoCorrect: true
indentSize: 4
maxLineLength: 120
ignoreRuleParameterThreshold: 8
BackingPropertyNaming:
active: true
BinaryExpressionWrapping:
active: true
autoCorrect: true
maxLineLength: 120
indentSize: 4
BlankLineBeforeDeclaration:
active: true
autoCorrect: true
BlankLineBetweenWhenConditions:
active: true
autoCorrect: true
lineBreakAfterWhenEntries: true
BlockCommentInitialStarAlignment:
active: true
autoCorrect: true
ChainMethodContinuation:
active: true
autoCorrect: true
indentSize: 4
maxLineLength: 120
ChainWrapping:
active: true
autoCorrect: true
indentSize: 4
ClassName:
active: false
ClassSignature:
active: true
autoCorrect: true
indentSize: 4
maxLineLength: 120
CommentSpacing:
active: true
autoCorrect: true
CommentWrapping:
active: true
autoCorrect: true
indentSize: 4
ConditionWrapping:
active: true
autoCorrect: true
indentSize: 4
ContextReceiverMapping:
active: false
autoCorrect: true
maxLineLength: 120
indentSize: 4
DiscouragedCommentLocation:
active: false
autoCorrect: true
EnumEntryNameCase:
active: true
autoCorrect: true
EnumWrapping:
active: true
autoCorrect: true
indentSize: 4
Filename:
active: true
FinalNewline:
active: true
autoCorrect: true
insertFinalNewLine: true
FunKeywordSpacing:
active: true
autoCorrect: true
FunctionExpressionBody:
active: true
autoCorrect: true
indentSize: 4
maxLineLength: 120
FunctionLiteral:
active: true
autoCorrect: true
indentSize: 4
maxLineLength: 120
FunctionName:
active: false
FunctionReturnTypeSpacing:
active: true
autoCorrect: true
maxLineLength: 120
FunctionSignature:
active: true
autoCorrect: true
forceMultilineWhenParameterCountGreaterOrEqualThan: 2147483647
functionBodyExpressionWrapping: 'default'
maxLineLength: 120
indentSize: 4
FunctionStartOfBodySpacing:
active: true
autoCorrect: true
FunctionTypeModifierSpacing:
active: true
autoCorrect: true
FunctionTypeReferenceSpacing:
active: true
autoCorrect: true
IfElseBracing:
active: true
autoCorrect: true
indentSize: 4
IfElseWrapping:
active: true
autoCorrect: true
indentSize: 4
ImportOrdering:
active: true
autoCorrect: true
layout: '*'
Indentation:
active: true
autoCorrect: true
indentSize: 4
KdocWrapping:
active: true
autoCorrect: true
indentSize: 4
MaximumLineLength:
active: true
maxLineLength: 120
ignoreBackTickedIdentifier: false
MixedConditionOperators:
active: true
ModifierListSpacing:
active: true
autoCorrect: true
ModifierOrdering:
active: true
autoCorrect: true
MultiLineIfElse:
active: true
autoCorrect: true
indentSize: 4
MultilineExpressionWrapping:
active: true
autoCorrect: false
indentSize: 4
MultilineLoop:
active: true
autoCorrect: true
indentSize: 4
NoBlankLineBeforeRbrace:
active: true
autoCorrect: true
NoBlankLineInList:
active: true
autoCorrect: true
NoBlankLinesInChainedMethodCalls:
active: true
autoCorrect: true
NoConsecutiveBlankLines:
active: true
autoCorrect: true
NoConsecutiveComments:
active: false
NoEmptyClassBody:
active: true
autoCorrect: true
NoEmptyFile:
active: true
NoEmptyFirstLineInClassBody:
active: true
autoCorrect: true
indentSize: 4
NoEmptyFirstLineInMethodBlock:
active: true
autoCorrect: true
NoLineBreakAfterElse:
active: true
autoCorrect: true
NoLineBreakBeforeAssignment:
active: true
autoCorrect: false
NoMultipleSpaces:
active: true
autoCorrect: true
NoSemicolons:
active: true
autoCorrect: true
NoSingleLineBlockComment:
active: true
autoCorrect: true
indentSize: 4
NoTrailingSpaces:
active: true
autoCorrect: true
NoUnitReturn:
active: true
autoCorrect: true
NoUnusedImports:
active: true
autoCorrect: true
NoWildcardImports:
active: true
packagesToUseImportOnDemandProperty: 'java.util.*,kotlinx.android.synthetic.**'
NullableTypeSpacing:
active: true
autoCorrect: true
PackageName:
active: true
autoCorrect: true
ParameterListSpacing:
active: false
autoCorrect: true
maxLineLength: 120
ParameterListWrapping:
active: true
autoCorrect: true
maxLineLength: 120
indentSize: 4
ParameterWrapping:
active: true
autoCorrect: true
indentSize: 4
maxLineLength: 120
PropertyName:
active: false
PropertyWrapping:
active: true
autoCorrect: true
indentSize: 4
maxLineLength: 120
SpacingAroundAngleBrackets:
active: true
autoCorrect: true
SpacingAroundColon:
active: true
autoCorrect: true
SpacingAroundComma:
active: true
autoCorrect: true
SpacingAroundCurly:
active: true
autoCorrect: true
indentSize: 4
SpacingAroundDot:
active: true
autoCorrect: true
SpacingAroundDoubleColon:
active: true
autoCorrect: true
SpacingAroundKeyword:
active: true
autoCorrect: true
SpacingAroundOperators:
active: true
autoCorrect: true
SpacingAroundParens:
active: true
autoCorrect: true
SpacingAroundRangeOperator:
active: true
autoCorrect: true
SpacingAroundSquareBrackets:
active: false
autoCorrect: true
SpacingAroundUnaryOperator:
active: true
autoCorrect: true
SpacingBetweenDeclarationsWithAnnotations:
active: true
autoCorrect: true
SpacingBetweenDeclarationsWithComments:
active: true
autoCorrect: true
SpacingBetweenFunctionNameAndOpeningParenthesis:
active: true
autoCorrect: true
StatementWrapping:
active: true
autoCorrect: true
indentSize: 4
StringTemplate:
active: true
autoCorrect: true
StringTemplateIndent:
active: false
autoCorrect: true
indentSize: 4
TrailingCommaOnCallSite:
active: true
autoCorrect: true
useTrailingCommaOnCallSite: true
TrailingCommaOnDeclarationSite:
active: true
autoCorrect: true
useTrailingCommaOnDeclarationSite: true
TryCatchFinallySpacing:
active: false
autoCorrect: true
indentSize: 4
TypeArgumentComment:
active: true
TypeArgumentListSpacing:
active: false
autoCorrect: true
indentSize: 4
TypeParameterComment:
active: true
TypeParameterListSpacing:
active: false
autoCorrect: true
indentSize: 4
UnnecessaryParenthesesBeforeTrailingLambda:
active: true
autoCorrect: true
ValueArgumentComment:
active: true
ValueParameterComment:
active: true
Wrapping:
active: true
autoCorrect: true
indentSize: 4
maxLineLength: 120 Error Log:
If my setting is wrong, please let me know. Appreciated the help |
I am using Intellij in my WSL2. I installed the plugin on the client side, but I can't open the plugin settings under Tools > detekt. It is loading endlessly. I have the following internal error:
The text was updated successfully, but these errors were encountered: