1
0
mirror of https://github.com/salexdv/bsl_console.git synced 2024-11-24 08:33:29 +02:00

fix QueryTablesCompletition #160

This commit is contained in:
salexdv 2021-05-31 09:01:08 +03:00
parent dcc323f044
commit e0dbbbd416

View File

@ -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);