Search in sources :

Example 1 with BSLFootprint

use of com.github._1c_syntax.bsl.languageserver.recognizer.BSLFootprint in project bsl-language-server by 1c-syntax.

the class CommentedCodeDiagnostic method configure.

@Override
public void configure(Map<String, Object> configuration) {
    threshold = ((Number) configuration.getOrDefault("threshold", threshold)).floatValue();
    codeRecognizer = new CodeRecognizer(threshold, new BSLFootprint());
}
Also used : CodeRecognizer(com.github._1c_syntax.bsl.languageserver.recognizer.CodeRecognizer) BSLFootprint(com.github._1c_syntax.bsl.languageserver.recognizer.BSLFootprint)

Aggregations

BSLFootprint (com.github._1c_syntax.bsl.languageserver.recognizer.BSLFootprint)1 CodeRecognizer (com.github._1c_syntax.bsl.languageserver.recognizer.CodeRecognizer)1