Class ConsecutiveEmptyLinesDiagnostic
java.lang.Object
com.github._1c_syntax.bsl.languageserver.diagnostics.AbstractDiagnostic
com.github._1c_syntax.bsl.languageserver.diagnostics.ConsecutiveEmptyLinesDiagnostic
- All Implemented Interfaces:
BSLDiagnostic
,QuickFixProvider
@DiagnosticMetadata(type=CODE_SMELL,
severity=INFO,
minutesToFix=1,
tags=BADPRACTICE)
public class ConsecutiveEmptyLinesDiagnostic
extends AbstractDiagnostic
implements QuickFixProvider
-
Field Summary
Fields inherited from class com.github._1c_syntax.bsl.languageserver.diagnostics.AbstractDiagnostic
diagnosticStorage, documentContext, info
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
check()
getQuickFixes
(List<Diagnostic> diagnostics, CodeActionParams params, DocumentContext documentContext) Methods inherited from class com.github._1c_syntax.bsl.languageserver.diagnostics.AbstractDiagnostic
getDiagnostics, getInfo, setInfo
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.github._1c_syntax.bsl.languageserver.diagnostics.BSLDiagnostic
configure
-
Constructor Details
-
ConsecutiveEmptyLinesDiagnostic
public ConsecutiveEmptyLinesDiagnostic()
-
-
Method Details
-
check
protected void check()- Specified by:
check
in classAbstractDiagnostic
-
getQuickFixes
public List<CodeAction> getQuickFixes(List<Diagnostic> diagnostics, CodeActionParams params, DocumentContext documentContext) - Specified by:
getQuickFixes
in interfaceQuickFixProvider
-