From e0dbbbd4165b9f3457b0c2a1fb0cd812e1045873 Mon Sep 17 00:00:00 2001 From: salexdv Date: Mon, 31 May 2021 09:01:08 +0300 Subject: [PATCH] fix QueryTablesCompletition #160 --- src/bsl_helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bsl_helper.js b/src/bsl_helper.js index 3edb0b7..349103b 100644 --- a/src/bsl_helper.js +++ b/src/bsl_helper.js @@ -3343,7 +3343,7 @@ class bslHelper { */ getQueryTablesCompletition(suggestions, kind) { - if (this.getLastCharacter() != '.' && this.lastExpression.indexOf('&') < 0) { + if (this.getLastCharacter() != '.' && this.getLastCharacter() != '(' && this.lastExpression.indexOf('&') < 0) { // Let's find start of current query let startMatch = this.model.findPreviousMatch('(?:выбрать|select)', this.position, true);