Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cb 5448 sql assist doesnt work after alias with enabled use long object names #3140

Conversation

sergeyteleshev
Copy link
Contributor

No description provided.

@@ -80,7 +80,7 @@ export function useSqlDialectAutocompletion(data: ISQLEditorData): [Compartment,
const limitIsMet = optionsRef.data.hintsLimitIsMet;

const result: CompletionResult = {
from: word.from,
from: getFrom(proposals, word.from),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should use built in codemirror tools to apply proposal the way we want. It could be done by passing custom function
https://codemirror.net/docs/ref/#autocomplete.Completion.apply

@devnaumov devnaumov merged commit efd0be6 into devel Dec 30, 2024
7 of 8 checks passed
@devnaumov devnaumov deleted the CB-5448-sql-assist-doesnt-work-after-alias-with-enabled-use-long-object-names branch December 30, 2024 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants