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

How to provide mycli completions to other clients like Emacs? #593

Open
stardiviner opened this issue Apr 12, 2018 · 4 comments
Open

How to provide mycli completions to other clients like Emacs? #593

stardiviner opened this issue Apr 12, 2018 · 4 comments

Comments

@stardiviner
Copy link

I want to know whether it is possible to provide mycli completions to other clients like Emacs? If it is possible, then can you give me some hints and point me to the right direction? I want to implement an Emacs client based on mycli. Take mycli/pgcli power to Emacs.
Thanks for your great work!!

@meeuw
Copy link
Contributor

meeuw commented Apr 16, 2018

Hi @stardiviner you're welcome!
I'm not a Emacs user but I can think of the following options:

  • Run mycli/pgcli in an terminal emulator in Emacs
  • Write your own plugin/extension for Emacs which uses sqlcompleter from mycli/pgcli.

@stardiviner
Copy link
Author

@meeuw Not able to use mycli/pgcli as a daemon?

@meeuw
Copy link
Contributor

meeuw commented Apr 17, 2018

No, not at this moment, sorry. It might be worth investigating, is there a framework for Emacs for getting completions from a daemon?

@stardiviner
Copy link
Author

Yes, Emacs has many packages get completion from external daemons, I can list some examples here.

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

No branches or pull requests

2 participants