Skip to content

devreplay/atom-devreplay

Repository files navigation

DevReplay for Atom

A Visual Studio Code extension with that will suggest source code fix based on your own rule file.

Quick start

  1. Install this extension!
  2. Create your own programming pattern(devreplay.json) on the root like bellow
[
    {
        "condition": [
            "tmp = $1",
            "$1 = $2",
            "$2 = tmp"
        ],
        "consequent": [
            "$1, $2 = $2, $1"
        ]
    },
]

or

[
    {
        "extends": ["python"]
    }
]

or Use Review Pattern Generator that generate your rule file automatically

If you write the following code,

tmp = a
a = b
b = tmp

it will be

a, b = b, a

Supported Language

  • JavsScript
  • Python
  • TypeScript

Thanks

DevReplay is supported by 2019 Exploratory IT Human Resources Project The MITOU Program, Support Center for Advanced Telecommunications (SCAT) Technology Research, Foundation, JSPS KAKENHI Grant Numbers JP18H03222, JP17H00731, JP15H02683, and JP18KT0013.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published