Giter Site home page Giter Site logo

ldez / atom-grammar-live-reload Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 1.0 27 KB

Language grammars Live Reload for Atom (Async)

Home Page: https://atom.io/packages/grammar-live-reload

License: MIT License

CoffeeScript 78.77% Shell 21.23%
grammar atom async

atom-grammar-live-reload's Introduction

Language grammars Live Reload for Atom (Async)

Atom Package Atom Package Downloads Build Status (Linux & OSX) Build status (Windows) MIT License

Reload automatically editors when grammars files (.cson) changes.

The reloading is doing asynchronously.

Only editors that are affected by the selected language are reload.

anim

Options

  • Enable live reload: check if you want to enabled grammars live reload.
  • Disable live reload for specific grammars: define the names of your grammars package who exclude from live reload. (ex: language-git, language-swift)
  • Regular expression use to detect grammar files

Install

Settings/Preferences > Install > Search for grammar-live-reload

Or

apm install grammar-live-reload

atom-grammar-live-reload's People

Contributors

aleclarson avatar ldez avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

aleclarson

atom-grammar-live-reload's Issues

Doesnt work?

As far as I can tell this does not do anything anymore.

trying to edit language-tcltk - i do anything and nothing changes (in developer mode)

Watch all grammar editors + other improvements

Hello, Ludovic!

In this commit, I've made several improvements to this package.

Features

  • Watch all grammar editors for changes (when in dev mode)

Fixes

  • Only watch grammars/*.cson files (instead of all .cson files)
  • Only reload the affected grammar (instead of all projects with a grammars directory)
  • Properly unload grammar packages

Other

  • Enable the package by default
  • Remove support for Atom < v1.11.0
  • Remove 'season' dependency (Atom provides it)
  • Simplify implementation

Let me know if you'd be interested in merging some (or all) of these changes into your version.

Cheers! ๐Ÿป

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.