-
-
Notifications
You must be signed in to change notification settings - Fork 896
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
Feature/lsp copilot #4635
base: master
Are you sure you want to change the base?
Feature/lsp copilot #4635
Conversation
e6e694c
to
a60adf3
Compare
@kiennq here's the lsp-copilot client. I've included in the PR a change that i've submitted previously that improves an issue that happens with ruff (probably with others as well) -- lsp-mode broadcasts The first commit in the PR fixes that. Let me know if you prefer to go another way with this, or keep this change outside of this PR and iterate over #4494 |
85dab1c
to
2df4263
Compare
(CI is failing because the compiler is not understanding the |
Regarding documentation: I'm not sure how to place the copilot in the language list, and even if that's where it should live. I've placed it in the Language section for lack of a better, obvious place. |
I would prefer to separate them. |
2df4263
to
1752d1c
Compare
2896279
to
c529d46
Compare
@kiennq I've fixed the issues you've pointed out, let me know if you think this is good to go or if it needs more work. |
LGTM. |
Now the lsp-controlled copilot npm install path contains a bin with a copilot-node-server -- we no longer need to go out of our way to find the language server js and execute it with node
ACTUALLY: The executable script is there, but then it complains that it can't find the tokenizer ... calling I'll have to ammend the last commit to work around that, maybe keeping the same strategy as was present in c529d46 |
I've tried your last commit, the |
Weird -- I've tested with your fork and copilot did not complain about not finding the tokenizer model ... Let's hope it does not happen again ;) |
About the changes in your fork -- I've left a couple of comments there. Other than that, how do you want to proceed? Should I merge your changes here or do you prefer to merge them later? |
Yes, please take my commit and make changes as you see fit. |
Done @kiennq ! |
This PR provides lsp-copilot, a client for the Copilot Node Server.