scel icon indicating copy to clipboard operation
scel copied to clipboard

Improve what help the autocompletion offers

Open xmacex opened this issue 5 years ago • 4 comments

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 avatar Aug 12 '20 00:08 xmacex

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.

xmacex avatar Sep 27 '20 17:09 xmacex

Does it work, have you tried?

TatriX avatar Sep 28 '20 14:09 TatriX

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.

xmacex avatar Dec 03 '22 18:12 xmacex