mirror of
https://github.com/salexdv/bsl_console.git
synced 2024-11-28 08:48:48 +02:00
Доработка сниппетов в showCustomSuggestions #200
This commit is contained in:
parent
720ada889b
commit
2aed74a618
@ -3765,8 +3765,19 @@ class bslHelper {
|
||||
if (erase)
|
||||
customSuggestions = [];
|
||||
|
||||
if (editor.showSnippetsOnCustomSuggestions)
|
||||
this.getSnippets(suggestions, snippets, true);
|
||||
if (editor.showSnippetsOnCustomSuggestions) {
|
||||
|
||||
let snippents_collection = snippets;
|
||||
|
||||
if (queryMode)
|
||||
snippents_collection = querySnippets;
|
||||
|
||||
if (queryMode)
|
||||
snippents_collection = DCSSnippets;
|
||||
|
||||
this.getSnippets(suggestions, snippents_collection, true);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user