-
Notifications
You must be signed in to change notification settings - Fork 7
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
No completions from database #7
Comments
Same issue here. Everything but completion seems to work. Where do I start to debug this? |
|
I use lsp-mode for many languages: C#, elm, F#, JS/TS etc, and they all work fine with completion, both native keywords and more complex cases. I can add that:
|
Seems like the completion does not return anything. The issue might be:
If memory serves me right the completion was working if you do:
with the cursor being on If it is 1. then we need to compare the traffic between vscode extension and the server and emacs and the server. |
I tried with your example there, and also some other places in both emacs and vs code, and vs code completes fine all over. My guess is that it's (1.) What is the best next step to figure out what's wrong? |
Collect the logs from both vscode/emacs from start to hitting the bug(as minimal as possible) and then find out what is missing on emacs side. (I am away from dev work for some time) |
The vscode version doesn't seem to have a |
I was doing that by wrapping the server binary with a script that pipes the stdin/stdout to a file. |
I'd be happy to try this, but don't know where to start. You don't happen to have a pointer, to a recipe for a suitable "wrapper script"? |
I have installed lsp-mssql (from melpa), in Emacs 27.1 on Windows 10.
This works: I can connect to the database, there is syntax checking for the SQL, and I can execute queries and see the results. All this is already useful.
However, there is no completion (is that what "intellisense" means?) for table names or field names. Any hints on how to get this working?
(Command lsp-describe-session shows red diamonds on my buffer file name, and on 'Capabilities'. Something is obviously missing, but where to look? On startup there's a message "Python3 not found", but does this matter for completion?)
The text was updated successfully, but these errors were encountered: