Skip to content

sbordeyne/renpy-text-editor

Repository files navigation

renpy-text-editor

Renpy Text Editor - A dedicated text editor and IDE for the Ren'Py Engine.

Discord Server

Installation instructions

In order to use this software, you must have the following installed on your computer :

  • A python 3.6.5+ installation
  • pip
  • Tcl/Tk 8.5+ (should be included in any python release)

Run the following command in a terminal

pip install -r requirements.txt --upgrade

Then, run the renpytexteditor.py file in any python 3.6.5+ interpretor.

python3 -m renpytexteditor.py

Currently implemented features

  • Editor View with Line numbering
  • Theme Support
  • Snippets Support
  • Duplicate line/ Selected Code Block
  • Fully Portable
  • Project Viewer, with Picture, and audio player.
  • Support for MD, JSON, YAML, XML markdown
  • Closeable tabs for multiple files open at the same time.
  • Layeredimage builder and preview
  • Syntax highlighting
  • Main window view, with 2 resizable frames for text editing.
  • opening a file from the project manager
  • Sort the project manager by item type (folder/file)
  • Save files
  • Undo/Redo
  • Formatting text (upper, lower, capitalize etc)
  • Comparing between two files
  • Toolbar
  • Snippets support
  • Translation support
  • GUI for adding in snippets
  • Collapsing blocks of code
    • collapsing with "#region region-name" and "#endregion" comments
    • collapsing labels, screens, python, init, statements and functions
  • Reassign Keybindings how you see fit, including support for F13-F24 keys.
  • GUI for setting up your preferences
  • Indent/Deindent code with tab/shift+tab
  • Full-featured renpy debugger (courtesy of @Enerccio) including breakpoints, pause, line-by-line execution.
  • Automatic Indent

Planned Features

  • Tab Autocompletion
  • Variable viewer
  • Renpy Console (run renpy code headless, jump to labels to test, call screens etc)
  • Automatic Renpy markdown matching, with automatic detection of custom text tags ({b}, {u} etc tags)
  • Autocompletion of variables in text
  • Plugin support
  • Built-in linting line by line with PEP8 support, and Renpy's linting system
    • pycodestyle linting
    • renpy linting
  • Git integration
  • Save file viewer
  • Screen builder and preview
  • Visual scripting for Renpy Visual Novels (VSVN)
  • Search, Replace, and Search in all files with regular expression support.
  • Built-in inline boolean expression simplifier
  • Boolean expression builder with variable names, and a truth table for those really complex conditions.
  • Native support for .editorconfig files

LayeredImage Builder Feature

  • Support for any number of layers with easy photoshop-like layer window
  • Support for basic transforms:
    • rotate
    • zoom
    • xoffset, yoffset
    • crop
  • View a layered image from the builder

Screen Builder Feature

  • Preview the resulting screen
  • Supported screen displayables :
    • imagebutton
    • textbutton
    • add
    • use
  • support for conditions
  • in-depth actions builder with support for any screen action && User-defined actions
  • output in a new screen.rpy file, with proper formatting.

Available Keybindings

  • Duplicate line/selected block : Ctrl+D
  • Run selected file in the console : F5
  • Quit : Alt+F4
  • Close current file : Ctrl+W
  • Comment/Uncomment selected block/line : Ctrl+Q
  • Search : Ctrl+F
  • Search & Replace : Ctrl+H
  • Search & replace in all files : Ctrl+Shift+F
  • Copy : Ctrl+C
  • Paste : Ctrl+V
  • Cut : Ctrl+X
  • Save : Ctrl+S
  • Save As : Ctrl+Shift+S
  • To lowercase : Ctrl+U
  • To UPPERCASE : Ctrl+Shift+U
  • To Capitalized case : Ctrl+Alt+U
  • Invert casing : Ctrl+Shift+Alt+U
  • Undo : Ctrl+Z
  • Redo : Ctrl+Y

About

Renpy Text Editor - A dedicated text editor for the RenPy Engine.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published