An AADL mode for emacs

AADLib provides an AADL mode for emacs, located in the share/emacs directory.

Alt text

Installation

To load this emacs mode, you need to add the following line to your configuration file (usually located in ~/.emacs) :

      (load "/path/to/this/file.el")

For more details on this mode, please refer to the emacs contextual help.

This mode provides support for

  • syntax highlighting
  • auto indentation of code

An AADL mode for vim

Alt text

AADLib provides an AADL mode for vim, located in the share/vim directory.

The AADL mode for vim is made of two files aadl.vim: one for syntactic coloration, and the other for indentation. The file for indentation must be placed into ~/.vim/indent/ while the one for syntactic coloration must be placed into ~/.vim/syntax/.

To load the AADL mode whenever you edit AADL files, create a file named ~/.vim/filetype.vim, in which you write:

 augroup filetypedetect
         au BufNewFile,BufRead *.aadl    setf aadl
 augroup END

For more details, please read the documentation of vim.