Opens a popup window containing classes, objects, types, defs and implicit vals from active scala file.
Keeps indentation of all the items. List is filterable. Enter
on an item jumps to it's position in file.
From melpa.
If you assign scala-outline-popup
command a hotkey (ex., C-e
), you may wan't same key to close the popup.
This can be done by adding the key to popup-isearch-keymap
:
(require 'popup)
(define-key popup-isearch-keymap (kbd "C-e") 'popup-isearch-cancel)
Variable controls popup horizontal positioning. Possible values are:
- 'center - opens popup at window center
- 'fill-column - center relative to fill-column (default setting)
- 'point - open popup at point
(setq scala-outline-popup-position 'point)
It's possible to have closest, previous or next definition selected, when you open the popup.
(setq scala-outline-popup-select 'closest) // 'next or 'prev
Fuzzy matching is enabled by default.
Set (setq scala-outline-popup-use-flx nil)
to disable it.