Class MissingSpaceDiagnostic
java.lang.Object
com.github._1c_syntax.bsl.languageserver.diagnostics.AbstractDiagnostic
com.github._1c_syntax.bsl.languageserver.diagnostics.MissingSpaceDiagnostic
- All Implemented Interfaces:
BSLDiagnostic
,QuickFixProvider
@DiagnosticMetadata(type=CODE_SMELL,
severity=INFO,
minutesToFix=1,
tags=BADPRACTICE)
public class MissingSpaceDiagnostic
extends AbstractDiagnostic
implements QuickFixProvider
-
Field Summary
Fields inherited from class com.github._1c_syntax.bsl.languageserver.diagnostics.AbstractDiagnostic
diagnosticStorage, documentContext, info
-
Constructor Summary
ConstructorDescriptionMissingSpaceDiagnostic
(com.github._1c_syntax.utils.StringInterner stringInterner) -
Method Summary
Modifier and TypeMethodDescriptionvoid
check()
void
getQuickFixes
(List<Diagnostic> diagnostics, CodeActionParams params, DocumentContext documentContext) Methods inherited from class com.github._1c_syntax.bsl.languageserver.diagnostics.AbstractDiagnostic
getDiagnostics, getInfo, setInfo
-
Constructor Details
-
MissingSpaceDiagnostic
@ConstructorProperties("stringInterner") public MissingSpaceDiagnostic(com.github._1c_syntax.utils.StringInterner stringInterner)
-
-
Method Details
-
check
public void check()- Specified by:
check
in classAbstractDiagnostic
-
configure
- Specified by:
configure
in interfaceBSLDiagnostic
-
getQuickFixes
public List<CodeAction> getQuickFixes(List<Diagnostic> diagnostics, CodeActionParams params, DocumentContext documentContext) - Specified by:
getQuickFixes
in interfaceQuickFixProvider
-