sclang-extensions
A collection of minor modes that improve your SuperCollider experience within Emacs. Includes improvements to auto-completion and documentation tooltips (ala Eldoc).
sclang-ac-mode
This mode communicates with the SuperCollider process to provide more intelligent completion candidates.
- Class names
- Instance methods
- Instance variables
These are dynamically generated and context-sensitive - typing SinOsc.ar will
no longer prompt you with Array for example.
sclang-doc-mode
Shows information about the class or method under the cursor in the minibuffer. This lets you see arglists and class descriptions without trawling through the SuperCollider help system.
sclang-post-mode
Displays feedback from SuperCollider in the minibuffer. This means you no longer have to keep the Post window open all the time.
Installation
sclang-extensions is available on MELPA. This is
the easiest way to install.
If you haven't set up MELPA, you'll need to add the following to your init.el
;;; Initialize packages.
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
(package-initialize)
(unless package-archive-contents (package-refresh-contents))Once MELPA is configured:
-
M-x package-install sclang-extensions. -
Configure your init.el:
(add-hook 'sclang-mode-hook 'sclang-extensions-mode)
You will need to install the SuperCollider language mode for Emacs if you do not already have it. Grab the latest version here.
Development
You will need cask, make and git to build the project.
-
Install Cask:
curl -fsSkL https://raw.github.com/rejeep/cask.el/master/go | sh -
Clone and install with
make:cd git clone git@github.com:chrisbarrett/sclang-extensions.git cd sclang-extensions make -
Configure your init.el:
(add-hook 'sclang-mode-hook 'sclang-extensions-mode)
