Skip to content
This repository has been archived by the owner on Aug 7, 2022. It is now read-only.

dpritchard/mike_pfs_npp

Repository files navigation

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:

  1. Download the language definition file userDefineLang.xml from GitHub to your computer.
  2. Click Start > Run, and type (or paste in) %APPDATA%\Notepad++, then click OK. This will open the settings directory for Notepad++.
  3. If it does not already exist, copy the downloaded userDefineLang.xml file into the Notepad++ settings directory. Skip to step 7.
  4. If it does exist, open the active userDefineLang.xml with a text editor.
  5. Copy the contents of the MIKE_PFS definition file between the <UserLang>...</UserLang> tags into the active userDefineLang.xml, at the end right before </NotepadPlus>.
  6. Save userDefineLang.xml.
  7. Restart Notepad++.

Screenshot

code_folding

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/

About

Simple highlighting and code folding in Notepad++ for MIKE by DHI m21fm and ecolab files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published