GithubHelp home page GithubHelp logo

xml-demo-package's Introduction

xml-demo-package

Demo Atom package associating a custom file extension with a new grammar derived from text.xml, an XML schema and rule settings for validation and autocomplete with linter-autocomplete-jing.

Structure

grammars/demoxy.cson

A custom grammar with the scope name text.xml.demoxy specifying the extension .demoxyext

schemata/demoxy.rng

A schema used for validation and autocomplete

settings/demoxy.cson

A settings file providing a rule to associate the schema at schemata/demoxy.rng with the grammar scope text.xml.demoxy

test/test.demoxyext

A test XML file

package.json

Setup

This package is not published in the Atom Package Repository; to use it as a template or demo, clone the project from GitHub, run apm link from the project's root directory and make sure linter-autocomplete-jing is installed in Atom.

Notes

In case you want to specify validation rules for files with common XML extensions (as defined in the language-xml package) you can omit the grammar definition in grammars.

A more detailed description of the validation rules is available at https://github.com/aerhard/linter-autocomplete-jing/blob/master/README.md#schema-rules.

xml-demo-package's People

Watchers

James Cloos avatar Alexander Erhard avatar

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.