Improved version of semantic-stickyfunc-mode that handles parameters on multiple lines
Emacs Lisp
Latest commit 13bdba5 Apr 29, 2015 @tuhdo Don't require obsolete cl
Use cl-lib instead.
Permalink
Failed to load latest commit information.
demos Update documentation and demo Mar 13, 2015
README.md Update documentation Mar 13, 2015
stickyfunc-enhance.el Don't require obsolete cl Apr 29, 2015

README.md

What is Semantic Stickyfunc Enhance

This package is an improvement of stock semantic-stickyfunc-mode in Semantic, a parser framework bundled with Emacs. semantic-stickyfunc-mode shows function interface/class/namespace that has part of it at the top of current visible screen. However, the mode has some limitations and this package tries to improve it. To visually see the mode in action, please look at the next section.

Features

  • Displays parameters scattered on multiple lines. Current semantic-stickyfunc-mode can only display parameter on the same line with the function name.

  • Specifically handles Python. Values can be assigned to Python's parameters. Current semantic-stickyfunc-mode only displays parameter names but not its associated values. This package does.

A demo in C:

semantic-stickyfunc-enhance-c-cpp

A demo in Emacs Lisp:

semantic-stickyfunc-enhance-elisp

A demo in Python:

semantic-stickyfunc-enhance-python

Installation

You only need to enable semantic-mode along with semantic-stickyfunc-mode:

(add-to-list 'semantic-default-submodes 'global-semantic-stickyfunc-mode)
(semantic-mode 1)
(require 'stickyfunc-enhance)