Ren'Py language support in Atom
Adds syntax highlighting and snippets to Ren'Py files in Atom. It also adds syntax highlighting to GitHub files, markdown code blocks and GitHub Gist (more info here).
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:
- Other recommended packages:
file-icons- Just for file icons style
pigments- Display colors in project (Hex, RGB etc)
color-picker- Color picker (Hex, RGB etc)
minimap- Code minimap
Ren'Py is a Visual Novel development tool, available from www.renpy.org
Thanks to Koroshiya (Sublime-Renpy).
When using Ren'Py 188.8.131.52 or higher, go to preferences and select Atom as your text editor.
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. You can 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 while editing a
.rpy file, just open the Command Palette (Ctrl/Cmd+Shift+P) and search for Snippets: Available or go to the package settings (
Snippets are added by need, so suggestions are welcome.