Clone wiki

m2c-rework / ide

IDE Integration

vimr+modula2.png

VimR showing Modula-2 source file

Integration with VIM

M2C is being integrated into the cross-platform Vim IDE.

The following features are currently supported:

  • disambiguation of .def and .mod file types
  • automatic detection of Modula-2 dialect in input file
  • support of special comment dialect tags to set dialect
  • manual selection of dialect via Syntax menu (GUI only)
  • syntax colouring for PIM, ISO and M2 R10 dialects
  • user setting for default dialect via Vim startup file
  • disabling of octal numbers and synonyms for PIM and ISO

The following features will be supported later:

  • code folding of comments, procedures and statements
  • invoking M2C directly from within Vim via Make menu

Download

  • Modula-2 support files for Vim (platform independent)

https://bitbucket.org/trijezdci/m2syntaxcolour/src/tip/Vim/

  • MacVim.app with Modula-2 support (MacOS X)

MacVim-with-Modula-2-support.app.zip (via bitbucket.org)

MD5 (MacVim-with-Modula-2-support.app.zip) = d5ccd4c7f88af40f2665042db9f01071
  • VimR.app with Modula-2 support (MacOS X)

VimR-with-Modula-2-support.app.zip (via bitbucket.org)

MD5 (VimR-with-Modula-2-support.app.zip) = beb8b06d594f1848f68c4ba80e09c5c4

Screenshots

.

gvim-screenshot-linux.png

GVIM under Linux showing split view

.

vim-syntax-menu.png

MacVim under Mac OS X showing Modula-2 dialect selection in syntax menu

.

vim-m2-split-view.png

MacVim Showing split view with filename and Modula-2 dialect in status bar

+++

Updated