This repository was archived by the owner on Feb 9, 2022. It is now read-only.
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
#+startup: showall * scalariform.el Format your Scala code with [[https://github.com/scala-ide/scalariform][scalariform]] in Emacs. [[https://melpa.org/#/scalariform][https://melpa.org/packages/scalariform-badge.svg]] ** Install #+begin_src sh brew install scalariform #+end_src It is recommended installed by the [[https://github.com/melpa/melpa][MELPA]] package system. You could install it by ~M-x~: with ~package-install~: ~scalariform~. ** Usage ~M-x:~ with command ~scalariform-format-region~ or ~scalariform-format-region-or-buffer~. ** Variables If you want to use a property file for scalariform, you can #+begin_src elisp (setq scalariform-use-properties-file-p t) (setq scalariform-properties-file "~/.scalariform.conf") #+end_src You can also customize the variable ~scalariform-program-args~ to past extra arguments to scalariform.