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

CustomSignatures в подсказке по методам языка запросов и СКД fix #160

This commit is contained in:
salexdv 2021-05-30 21:50:03 +03:00
parent 2bc6e4e1a5
commit c77f5fc8cb

View File

@ -4042,8 +4042,12 @@ class bslHelper {
if (this.lastOperator != ')' && !this.requireQueryValue() && 0 <= unclosed.index) {
let functions = this.getQueryFunctions(bslQuery);
let helper = this.getCommonSigHelp(functions);
let helper = this.getCustomSigHelp(context);
if (!helper) {
let functions = this.getQueryFunctions(bslQuery);
let helper = this.getCommonSigHelp(functions);
}
if (helper)
return new SignatureHelpResult(helper);
@ -4063,12 +4067,18 @@ class bslHelper {
if (this.lastOperator != ')' && 0 <= unclosed.index) {
let functions = this.getQueryFunctions(bslDCS);
let helper = this.getCommonSigHelp(functions);
let helper = this.getCustomSigHelp(context);
if (!helper) {
functions = this.getQueryFunctions(bslQuery);
helper = this.getCommonSigHelp(functions);
let functions = this.getQueryFunctions(bslDCS);
let helper = this.getCommonSigHelp(functions);
if (!helper) {
functions = this.getQueryFunctions(bslQuery);
helper = this.getCommonSigHelp(functions);
}
}
if (helper)