Skip to content

Syntax Highlighting for external editors

dakalff edited this page Nov 26, 2013 · 4 revisions

OpenHAB has a great development environment with the "openHAB Designer". But in some cases you want to use another editor to make changes to the configuration files of openHAB. To make this more effectiv there are some files to enable syntax highlighting for openHAB-files in these editors.

mcedit

mcedit is an editor which comes with mc (Midnight Commander).

Installing the syntax-files

    file ..\*\\.(items)$ openHAB\sItems 
    include openhab-items.syntax  
     
    file ..\*\\.(sitemap)$ openHAB\sSitemap 
    include openhab-sitemap.syntax
     
    file ..\*\\.(persist)$ openHAB\sPersistence
    include openhab-persist.syntax
     
    file ..\*\\.(rules)$ openHAB\sRules
    include openhab-rules.syntax 
  • edit the Debian-line from file (rules|rocks)$ Debian\srules to file (rocks)$ Debian\srules because it interferes with openHABs rules-files.

Screenshots

Items Rules Sitemap

Notepad++

Notepad++ Version 6.2 or above is required to support UDL2 (User Defined Language v2).

http://notepad-plus-plus.org/news/notepad-6.2-release-udl2.html

How to import UDL2-files?

Import

Screenshots

Items Rules Sitemap

vi

feel free to contribute..

Installation

Community

Features

Samples

Release Notes

Clone this wiki locally