|
|
|
|
@ -326,7 +326,7 @@ function getSuggestions(monaco, model, position, keywords, snippts) {
|
|
|
|
|
var keywords = [];
|
|
|
|
|
var match;
|
|
|
|
|
while (match = keywordRegex.exec(codeText)) {
|
|
|
|
|
keywords.push(match[0]);
|
|
|
|
|
if (!cLangage.keywords.includes(match[0])) keywords.push(match[0]);
|
|
|
|
|
}
|
|
|
|
|
var suggestions = toConsumableArray_default()(new Set(keywords)).map(function (keyword) {
|
|
|
|
|
return {
|
|
|
|
|
@ -367,7 +367,7 @@ function getSuggestions(monaco, model, position, keywords, snippts) {
|
|
|
|
|
var keywords = [];
|
|
|
|
|
var match;
|
|
|
|
|
while (match = keywordRegex.exec(codeText)) {
|
|
|
|
|
keywords.push(match[0]);
|
|
|
|
|
if (!javaLangage.keywords.includes(match[0])) keywords.push(match[0]);
|
|
|
|
|
}
|
|
|
|
|
var suggestions = toConsumableArray_default()(new Set(keywords)).map(function (keyword) {
|
|
|
|
|
return {
|
|
|
|
|
@ -454,7 +454,7 @@ function getSuggestions(monaco, model, position, keywords, snippts) {
|
|
|
|
|
var keywords = [];
|
|
|
|
|
var match;
|
|
|
|
|
while (match = keywordRegex.exec(codeText)) {
|
|
|
|
|
keywords.push(match[0]);
|
|
|
|
|
if (!pythonLangage.keywords.includes(match[0])) keywords.push(match[0]);
|
|
|
|
|
}
|
|
|
|
|
var suggestions = toConsumableArray_default()(new Set(keywords)).map(function (keyword) {
|
|
|
|
|
return {
|
|
|
|
|
|