public class DiagnosticsHelper extends Object
Constructor and Description |
---|
DiagnosticsHelper() |
Modifier and Type | Method and Description |
---|---|
void |
clearDiagnostics(org.eclipse.lsp4j.services.LanguageClient client,
Map<String,List<org.eclipse.lsp4j.Diagnostic>> lastDiagnosticMap)
Clears already existing diagnostics.
|
void |
compileAndSendDiagnostics(org.eclipse.lsp4j.services.LanguageClient client,
LSCompiler lsCompiler,
Path filePath,
Path compilationPath)
Compiles and publishes diagnostics for a source file.
|
public void compileAndSendDiagnostics(org.eclipse.lsp4j.services.LanguageClient client, LSCompiler lsCompiler, Path filePath, Path compilationPath)
client
- Language server clientlsCompiler
- LS CompilerfilePath
- file pathcompilationPath
- compilation pathCopyright © 2019 WSO2. All rights reserved.