mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
fix(plugin-sql-editor): CB-588 now we use both replacementString and displayString to make autocomplete
This commit is contained in:
@@ -175,7 +175,9 @@ export class SqlEditorController implements IInitializableController {
|
||||
callback({
|
||||
from,
|
||||
to,
|
||||
list: proposals.map(({ replacementString }) => replacementString || ''),
|
||||
list: proposals.map(({ displayString, replacementString }) => ({
|
||||
text: replacementString || '', displayText: displayString || '',
|
||||
})),
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user