Code Monkey home page Code Monkey logo

openhab-mcedit's Introduction

openhab-mcedit

Description

syntax files for mcedit

Installing

To install the syntax highlighting execute these commands

# download syntax files for openhab files
sudo curl -L -o /usr/share/mc/syntax/openhab-items.syntax https://github.com/CWempe/openhab-mcedit/raw/master/openhab-items.syntax
sudo curl -L -o /usr/share/mc/syntax/openhab-persist.syntax https://github.com/CWempe/openhab-mcedit/raw/master/openhab-persist.syntax
sudo curl -L -o /usr/share/mc/syntax/openhab-rules.syntax https://github.com/CWempe/openhab-mcedit/raw/master/openhab-rules.syntax
sudo curl -L -o /usr/share/mc/syntax/openhab-sitemap.syntax https://github.com/CWempe/openhab-mcedit/raw/master/openhab-sitemap.syntax
sudo curl -L -o /usr/share/mc/syntax/openhab-script.syntax https://github.com/CWempe/openhab-mcedit/raw/master/openhab-script.syntax

# download and apply patch for Syntax file
curl -L -o /tmp/Syntax.patch https://github.com/CWempe/openhab-mcedit/raw/master/Syntax.patch
sudo patch /usr/share/mc/syntax/Syntax < /tmp/Syntax.patch

openhab-mcedit's People

Contributors

cwempe avatar jenshori avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

openhab-mcedit's Issues

Malformed patch

Hi,
I'm getting:
[18:52:21] root@openHABianDevice:/etc/openhab/sitemaps# sudo patch /usr/share/mc/syntax/Syntax < /tmp/Syntax.patch
patching file /usr/share/mc/syntax/Syntax
Hunk #1 succeeded at 214 (offset 15 lines).
patch: **** malformed patch at line 30: +

Can you help me with that?

Syntax_insert file error

Line 13,14:
file ..*\.(script)$ openHAB\sScript
include openhab-rules.syntax

should be

file ..*\.(script)$ openHAB\sScript
include openhab-script.syntax

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.