Prettier

All plugins

By Ajit Kumar

Version 2.0.2

Acode Plugin: Prettier Version License Prettier is an opinionated code formatter that enforces a consistent style across your codebase. It automatically formats your code by parsing it and re-printing it with its own rules, taking the maximum line length into account and wrapping code when necessary. This plugin brings the power of Prettier to Acode, the lightweight code editor for Android. With this plugin, you can format your code with just a tap or keyboard shortcut, ensuring clean and consistent formatting across all your projects. Repository: github.com/deadlyjack/acode-plugin-prettier Requirements - Acode editor for Android - Internet connection (for initial plugin installation) Installation There are three ways to install this plugin: Method 1: Plugin Manager (Recommended) This is the easiest way to install the plugin: 1. Open Acode and tap the menu icon (three horizontal lines) in the top-left corner 2. Go to Settings → Plugins 3. Browse the available plugins and find Prettier 4. Tap Install to add it to your editor 5. Restart Acode to activate the plugin Method 2: Remote Installation If you have a direct URL to the plugin file: 1. Open Acode and go to Settings → Plugins 2. Tap the '+' icon 3. Select REMOTE 4. Enter the plugin file URL (e.g., a GitHub release URL) 5. Tap Install Method 3: Local Installation If you have the plugin .zip file downloaded on your device: 1. Download the plugin file ( .zip ) to your Android device 2. Open Acode and navigate to Settings → Plugins 3. Tap the '+' icon 4. Select LOCAL 5. Choose the downloaded plugin file 6. Tap Install For more details on installing plugins, visit the Acode documentation. Features This plugin provides powerful formatting capabilities to help you maintain clean, consistent code: - Format Entire Document : Quickly format your entire file using Acode's built-in formatter. This ensures your whole file follows consistent styling rules, making it easier to read and maintain. - Format Selection : Need to format just a specific section? Select the lines you want to format and use the "Prettier: Format Selection" command. Perfect for cleaning up specific code blocks without affecting the rest of your file. - Keyboard shortcut: Ctrl-Shift-F (with external keyboard) - Smart behavior: Formats your selection when text is highlighted, or the entire document if nothing is selected - Automatically expands…