mike_pfs_npp
Overview
Very simple code folding and syntax highlighting in Notepad++ for files created by the MIKE by DHI hydrodyanmic modelling software. Currently auto-detects files with .m21fm
, .ecolab
and .plc
extensions. Requires Notepad++ (obviously).
Developed with MIKE by DHI 2012, but it should work for most versions of the software.
Usage
Notepad++ allows you to add new languages by adding language definitions to a userDefineLang.xml file. Add the MIKE_PFS definition like this:
- Download the language definition file userDefineLang.xml from GitHub to your computer.
- Click Start > Run, and type (or paste in)
%APPDATA%\Notepad++
, then click OK. This will open the settings directory for Notepad++. - If it does not already exist, copy the downloaded
userDefineLang.xml
file into the Notepad++ settings directory. Skip to step 7. - If it does exist, open the active
userDefineLang.xml
with a text editor. - Copy the contents of the MIKE_PFS definition file between the
<UserLang>...</UserLang>
tags into the activeuserDefineLang.xml
, at the end right before</NotepadPlus>
. - Save
userDefineLang.xml
. - Restart Notepad++.
Screenshot
Credit
Inspired by (and much of this readme stolen from) thomsmits' markdown_npp project.
Licence
Created by Daniel Pritchard (www.pritchard.co)
Distributed under a creative commons CC BY-SA licence. See here:
http://creativecommons.org/licenses/by-sa/3.0/