Giter Site home page Giter Site logo

matt- / atom-regex-railroad-diagrams Goto Github PK

View Code? Open in Web Editor NEW

This project forked from klorenz/atom-regex-railroad-diagrams

0.0 2.0 0.0 457 KB

display regex as railroad diagram, if cursor moves to it

License: MIT License

CoffeeScript 53.35% JavaScript 35.65% CSS 11.00%

atom-regex-railroad-diagrams's Introduction

regex-railroad-diagram package

A regular expression railroad diagram view for regular expression under cursor.

An (old) Screenshot:

regex-railraod-diagram in action

It also shows you a parsing error message, if your regex is not syntactically correct.

Regexes parsed are not language specific, so some language specific features may not parsed or displayed correctly.

Usage

  • if the cursor is on some text, which is marked by language as a regex, the railroad diagram automatically opens. It changes, while you change the text.

  • if you have some text selected or your cursor is somewhere else (where no regex is recognized), you can hit ctrl-r ctrl-r to open the railroad diagram view. You then can edit the regex and hit enter to insert it at your cursor position or replace current selection. Hit esc to cancel the view

Contributors

Many thanks to @mikesprague, who maintains this package, and to other contributers:

  • @hayes
  • @imperez
  • @ypresto
  • @goddamnhippie
  • @jkroso
  • @lucas-clemente

atom-regex-railroad-diagrams's People

Contributors

klorenz avatar mikesprague avatar despairblue avatar beathyate avatar jkroso avatar zod- avatar lucas-clemente avatar ypresto avatar aki77 avatar elich avatar

Watchers

James Cloos avatar  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.