auto-complete-sage provides auto-complete
sources for sage-shell-mode.
You can install auto-complete-sage from
MELPA by package.el
(M-x package-install auto-complete-sage).
For the setting of auto-complete,
see the manual
of auto-complete-mode.
auto-complete-sage provides specific sources for sage-shell-mode.
To add these sources to ac-sources, put the following lines to "~/.emacs.d/init.el":
(add-hook 'sage-shell:sage-mode-hook 'ac-sage-setup)
(add-hook 'sage-shell-mode-hook 'ac-sage-setup)auto-complete-sage replaces the default completion function of
sage-shell-mode (completion-at-point) by auto-complete.
If you want to use completion-at-point for the Tab completion,
put the following line to "~/.emacs.d/init.el":
(eval-after-load "auto-complete-sage"
'(setq sage-shell:completion-function 'completion-at-point))
-
ac-sage-show-quick-help(default value:nil). To show a quick help, set this variable tonon-nil.(setq ac-sage-show-quick-help t)By default, quick help for an instance of
sage.misc.lazy_import.LazyImportis not shown. To show quick help for all instances, put the following line to"~/.emacs.d/init.el".(setq ac-sage-quick-help-ignore-classes '("")) -
ac-sage-complete-on-dot(default value:nil). This variable is similar tojedi:complete-on-dotin jedi. Whennon-nil,auto-completestarts when a dot is inserted.
For more customization, M-x customize-group RET auto-complete-sage.
