Class CommentedCodeDiagnostic
java.lang.Object
com.github._1c_syntax.bsl.languageserver.diagnostics.AbstractDiagnostic
com.github._1c_syntax.bsl.languageserver.diagnostics.CommentedCodeDiagnostic
- All Implemented Interfaces:
BSLDiagnostic
,QuickFixProvider
@DiagnosticMetadata(type=CODE_SMELL,
severity=MINOR,
minutesToFix=1,
tags={STANDARD,BADPRACTICE})
public class CommentedCodeDiagnostic
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 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
-
CommentedCodeDiagnostic
public CommentedCodeDiagnostic()
-
-
Method Details
-
configure
- Specified by:
configure
in interfaceBSLDiagnostic
-
check
public void check()- Specified by:
check
in classAbstractDiagnostic
-
getQuickFixes
public List<CodeAction> getQuickFixes(List<Diagnostic> diagnostics, CodeActionParams params, DocumentContext documentContext) - Specified by:
getQuickFixes
in interfaceQuickFixProvider
-