Ren’Py language support in Atom
Adds syntax highlighting and snippets to Ren’Py files in Atom.
Originally converted from the Python package for Atom.
Syntax highlighting test:
Contributions are greatly appreciated. Please fork this repository and open a pull request to add snippets, make grammar tweaks, etc.
- The highlight may vary depending on the syntax theme used.
- Default suggested syntax theme:
- Alternative suggested syntax theme:
- To have better functionality is advisable to
install(the following plugins are now included in the Atom >1.0) the plugins
- Other recommended plugin:
Ren’Py is a Visual Novel development tool, available from www.renpy.org
With Atom already installed, open the Settings tab:
Settings (or with Ctrl+,)
Click in + Install and search for
renpy then click in Install button of the package
It’s also possible installing using the cli command
apm (atom package manager):
apm install language-renpy
.rpy file or create a new one and test the syntax highlighting of the Ren’Py. Also use the example file available on the package repository.
Snippets are pieces of code like in the following example.
The usage is done with keywords followed by a Tab to insert the snippet.
For example, there’s a snippet with useful links, type
dochelp and press Tab or Enter.
You can check the snippets list with Atom, being at the tab of a
.rpy file and pressing Shift+Alt+S or going to the package settings (