Skip to content

Commit

Permalink
fix: autocomplete limit
Browse files Browse the repository at this point in the history
  • Loading branch information
Raubzeug committed May 13, 2024
1 parent 8034c09 commit 88787c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/monaco/yql/generateSuggestions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ export async function generateEntitiesSuggestion(
prefix?: string,
): Promise<monaco.languages.CompletionItem[]> {
const normalizedPrefix = normalizeEntityPrefix(prefix, database);
const data = await window.api.autocomplete({database, prefix: normalizedPrefix, limit: 100});
const data = await window.api.autocomplete({database, prefix: normalizedPrefix, limit: 1000});
const withBackticks = prefix?.startsWith('`');
if (data.Success) {
const filteredEntities = filterAutocompleteEntities(data.Result.Entities, suggestEntities);
Expand Down

0 comments on commit 88787c8

Please sign in to comment.