This is an Emacs major-mode for MOOSE input and testing files. It provides syntax-highlighting and other functionality.
Currently, this package is not yet available on MELPA. In the meantime, you can install emacs-moose-mode
by cloning this repo and telling your init.el
file where to find it:
(add-to-list 'load-path "<path-to-moose-mode>")
(require 'moose-mode)
Or, if you use straight package manager you can:
(use-package
:straight (:host github :repo "dylanjm/emacs-moose-mode"))
By default, moose-mode
is set to ‘auto-activate’ when emacs opens *.i
, assessment
, or test
files.
Also, moose-mode
defaults to using an indentation-offset of 2. You can change this variable by
putting the following in your init.el
:
(with-eval-after-load moose-mode
(setq moose-indent-offset 4))
Listed in order from most-practical to strech-goals.
- [X] Syntax Highlighting
- [X] Mode-Specific Indentation
- [ ] Navigation Functions
- [ ] Snippets
- [ ] Autocomplete (Company-Mode integration)
- [ ] Action-Expansion
- [ ] Linting
Note: Some of these goals may be broken off into separate libraries.
If you find a bug or would like to contribute, please submit an issue and/or a pull-request.
- MOOSE
- Moose-HIT-Format (Emacs)
- Moose-HIT-Format (Atom)
- Language-Moose (Atom)
- Moose-Autocomplete (Atom)
Copyright 2020-2021 Dylan McDowell Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.