mirror of
https://github.com/jlengrand/elm-language-client-vscode.git
synced 2026-03-10 08:11:17 +00:00
Log to info
This commit is contained in:
@@ -33,7 +33,7 @@ export class ASTProvider {
|
||||
}
|
||||
|
||||
protected handleOpenTextDocument = async (params: DidOpenTextDocumentParams): Promise<void> => {
|
||||
this.connection.console.log("Opened text document, going to parse it");
|
||||
this.connection.console.info("Opened text document, going to parse it");
|
||||
const document: TextDocumentItem = params.textDocument;
|
||||
const tree: Tree = this.parser.parse(document.text);
|
||||
this.forest.setTree(document.uri, tree);
|
||||
@@ -42,7 +42,7 @@ export class ASTProvider {
|
||||
protected handleChangeTextDocument = async (
|
||||
params: DidChangeTextDocumentParams,
|
||||
): Promise<void> => {
|
||||
this.connection.console.log("Changed text document, going to parse it");
|
||||
this.connection.console.info("Changed text document, going to parse it");
|
||||
const document: VersionedTextDocumentIdentifier = params.textDocument;
|
||||
let tree: Tree = this.forest.getTree(document.uri);
|
||||
if (tree !== undefined) {
|
||||
|
||||
Reference in New Issue
Block a user