Skip to content

meanmail-dev/prettify-python-plugin

Repository files navigation

Prettify Python Plugin

JetBrains IntelliJ Plugins JetBrains IntelliJ plugins Twitter Follow

Enhance the readability of your Python code with beautiful mathematical symbols! This IntelliJ plugin automatically replaces standard Python operators with their mathematical equivalents.

Features

  • Automatic Operator Replacement: Convert standard Python operators to mathematical symbols
  • Customizable Rules: Configure replacement patterns to match your preferences
  • Instant Application: See changes immediately as you type
  • IDE Integration: Seamlessly works within your IntelliJ environment

Supported Replacements

Python Operator Mathematical Symbol Description
>= Greater than or equal
<= Less than or equal
!= Not equal
-> Arrow
lambda λ Lambda
** ^ Power

Installation

  1. Open IntelliJ IDE
  2. Go to Settings/Preferences → Plugins
  3. Search for "Prettify Python"
  4. Click Install
  5. Restart IDE if required

Configuration

  1. Go to Settings/Preferences
  2. Navigate to "Prettify Python" in the plugins list
  3. Here you can:
    • Enable/disable specific replacements
    • Add new custom replacements
    • Edit existing replacements
    • Organize replacements by categories
    • Import/Export your replacement settings

This is particularly useful if you're using a font with ligatures that already provides some of these replacements. You can disable those and keep only the ones you need!

Supported IDE Versions

Compatible with all IntelliJ-based IDEs that support Python, version 2024.3 and above.

Support and Feedback

Your ratings and feedback are very important! New features are prioritized based on user requests.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.


Made with ❤️ by meanmail.dev