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

Improve what help the autocompletion offers #32

Open
xmacex opened this issue Aug 12, 2020 · 3 comments
Open

Improve what help the autocompletion offers #32

xmacex opened this issue Aug 12, 2020 · 3 comments

Comments

@xmacex
Copy link

xmacex commented Aug 12, 2020

The company autocompletion framework used by scel can offer more help in the completion popup miniwindows. Currently it completes top level objects, which works very well

Screenshot 2020-08-12 at 01 40 12

Compare with Elpy for Python, which also uses the eldoc to display arguments in the echo area at the bottom of the screen

Screenshot 2020-08-12 at 01 42 22

Mads has something like this in what looks like vi on his quarantine livecoding stream

Screenshot 2020-08-12 at 02 02 06

The autocompletion could show a oneline description e.g.

SynthDef - Client-side representation of a synth definition

and method completion on dot (e.g. from the SuperCollider IDE)

Screenshot 2020-08-12 at 01 51 31

completion of symbols (from Mads' quarantine livecoding stream)

Screenshot 2020-08-12 at 02 01 38

Company is quite powerful, and together combined with eldoc I believe a pretty well guided interaction with SuperCollider can be achieved for Emacs :)

@xmacex xmacex changed the title Improve what the help autocompletion offers Improve what help the autocompletion offers Aug 12, 2020
@xmacex
Copy link
Author

xmacex commented Sep 27, 2020

Ok I just discovered the existence of sclang-extensions which improves autocomplete for sclang-mode and does Eldoc thing too. It is unmaintained, but I'm sure worth excavating.

@TatriX
Copy link

TatriX commented Sep 28, 2020

Does it work, have you tried?

@xmacex
Copy link
Author

xmacex commented Dec 3, 2022

It didn't work for me, instead giving errors when auto-complete runs. I'm not sure if it would be worth trying to bring the sclang-extensions package back to action from it's unmaintained status, or try to re-implement the functionality with company in the scel package itself.

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