Skip to content

rsk0315/papyrus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

papyrus

Enhanced IDLE (IDE for Python)

Requirements

Installation

Back up idlelib directory just in case (found in /usr/lib64/python2.7/ or C:\Python27\Lib)

Replace idlelib/*.* by papyrus-master/*.*

Copy papyrus-master/*/ to idlelib/

Download and install regex module

$ pip install regex

If you don't use pip, you can download from the link above.

What differs from original IDLE

  • Enhanced syntax highlight
    Menu bar > Highlight > (FavoriteLanguage)

    • colorize special characters in string and numeric literals
    • compatible with C, C++, Python, Markdown, and Brainf*ck
    • Github-like theme Menu bar > Options > Configure IDLE > Highlighting Theme > _Github
  • Show line number Menu bar > Options > Line Number (but not good enough, especially in UNIX)

  • Compile in editor Menu bar > Run > Compile Code or F7 Key

    • Only in C or C++ mode
    • You must install gcc or g++ in advance
  • Run in editor Menu bar > Run > Run Code or F8 Key

    • like a 'code test' in AtCoder

Naming

  • 'papyrus' suggests paper, or editor
  • 'papyrus' contains substring 'PY', since written in Python

Trouble shooting

  • highlighted improperly

    • Recolorize from Menu bar > Highlight > (FavoriteLanguage)
  • displayed font improperly (like proportional fonts)

    • Relaunch
    • Change font from Menu bar > Options > Configure IDLE > Fonts/Tabs > Font Face

To do

  • Correct line number on UNIX
  • Retouch parenmatch for C and C++
  • Make compatible with other languages

Contact me

  • Twitter: @rsk0315_h4x

About

Enhanced IDLE

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published