Installation¶
Install from JetBrains Marketplace¶
- Open Settings → Plugins → Marketplace.
- Search for BetterPy.
- Click Install and restart the IDE when prompted.
Install from Disk¶
- Download the latest
.zipfrom the GitHub Releases page. - Open Settings → Plugins → → Install Plugin from Disk…
- Select the downloaded
.zipfile and restart the IDE.
First-Use Orientation¶
After installation, BetterPy is ready to go with sensible defaults.
Status Bar Widget¶
Look for the BetterPy widget in the bottom status bar. It shows the plugin status and provides quick access to settings.
Settings Panel¶
Open Settings → Tools → BetterPy to see all feature toggles organized by group:
- Typing & Type Hints
- Refactoring & Code Transformations
- Productivity Actions
- IDE Customization
Each feature can be individually enabled or disabled. Incubating features are marked with .
Your First Intention: Make Parameter Optional¶
Try BetterPy right away with the Make Parameter Optional intention:
How to invoke: Place the caret on a required parameter and press Alt+Enter, then select "BetterPy: Make optional".
Tip
Make Parameter Optional adds a default value to the selected parameter. Use the complementary Make Parameter Mandatory intention to remove a default value.