Skip to content
This repository was archived by the owner on Feb 9, 2022. It is now read-only.

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
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.

About

Format your Scala code with scalariform in Emacs.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages