Prettier chrome extension

Latest Version

Version
0.1.0
Update
March 23, 2017
Size
3.36MiB
Developer
Category
Users
1,000+
Rating
4 ★
Manifest Version
2
Web Store Status
Languages Support
English (United States)
See more
Permissions
ContextMenus
Background
Storage
See more

Prettier Chrome Extension Extension

Format your JavaScript code using the Prettier library on any editable element (`textarea` and `input[type=text]`, for now).


sebmarkbage(https://twitter.com/sebmarkbage/status/843866641515536384) had an idea for a tool that will format your JavaScript code that is not in your code editor/IDE. This is the implementation I came up with.

Usage

1. Install
2. Ensure your code fences are defined as JS blocks (```js var abc = 123; ```)
3. Format your code via a handy context menu.

Options

All the options that are defined in Prettier API are available to be set using the extensions options page.
Read more

Source Manifest.json

{
"update_url": "https://clients2.google.com/service/update2/crx",
"name":"Prettier Chrome Extension",
"icons":{"16":"icon_16x16.png",
"32":"icon_32x32.png",
"48":"icon_48x48.png",
"128":"icon_128x128.png"},
"background":{"scripts":["background.bundle.js"],
"persistent":true},
"permissions":["contextMenus",
"background",
"storage"],
"options_ui":{"page":"options.html",
"chrome_style":true},
"content_scripts":[{"matches":[""],
"js":["inject.bundle.js"],
"run_at":"document_end"}],
"manifest_version":2,
"content_security_policy":"script-src 'self' 'unsafe-eval'; object-src 'self'",
"description":"prettier chrome extension",
"version":"0.1.0"}
Read more

How to download and manually install Prettier Chrome Extension extension for Chrome

Looking for a way to install Prettier Chrome Extension extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install Prettier Chrome Extension extensions manually, this article outlines two simple methods to effortlessly install Prettier Chrome Extension extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Prettier Chrome Extension extension and manually install through Drag &Drop

If you ever need to manually install a Prettier Chrome Extension extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the Prettier Chrome Extension Extension by clicking the "Download CRX" button on the website.

Look for the Prettier Chrome Extension extension you wish to install. Go to the website and download the Prettier Chrome Extension extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Prettier Chrome Extension extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the Prettier Chrome Extension extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download Prettier Chrome Extension extension for Chrome and install in Developer Mode

This is another method to install Prettier Chrome Extension extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the Prettier Chrome Extension extension file

Select and download the Prettier Chrome Extension extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the Prettier Chrome Extension extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Prettier Chrome Extension extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the Prettier Chrome Extension extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install Prettier Chrome Extension extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

Prettier Extension · Developer Tools 1,000+ 4 ★ 3.79MiB

icon

HTML Formatter Extension · Productivity 1,000+ 2 ★ 1.57MiB

icon

Code Formatter - JSON, CSS & JavaScript Extension · Developer Tools 1,000+ 15 ★ 1.38MiB

icon

Raw Code Formatter Extension · Developer Tools 1,000+ 3 ★ 181KiB

icon

Pretty Js Extension · Developer Tools 1,000+ 8 ★ 1.75MiB

icon

Code formatter Extension · Developer Tools 1,000+ 5 ★ 316KiB

icon

Source Code Formatter & Beautifier Extension · Productivity 1,000+ 1 ★ 253KiB

icon

code runner Extension · Developer Tools 1,000+ 7 ★ 1.4MiB

icon

Code Beautifier (JS, CSS, HTML) Extension · Developer Tools 1,000+ 1 ★ 222KiB

icon

Pretty HTML | CSS | XML Extension · Productivity 1,000+ 12 ★ 1.55MiB

icon

Prettier JS Extension · Productivity 1,000+ 1 ★ 239KiB

icon

Rainbow Brackets Extension · Accessibility 1,000+ 7 ★ 532KiB

icon

Code Formatter Extension · Developer Tools 1,000+ 35 ★ 5.9MiB

icon

JSBeautify for Google Chrome™ Extension · Developer Tools 1,000+ 52 ★ 37.22KiB

icon

Live Server Web Extension Extension · Developer Tools 1,000+ 62 ★ 429KiB

icon

Leetcode format Extension · Developer Tools 1,000+ 30 ★ 2.42MiB

icon

OctoLinker Extension · Developer Tools 1,000+ 110 ★ 184KiB

icon

Codext Extension · Developer Tools 1,000+ 4 ★ 2.48MiB

icon

Beautifer & Minify Extension · Developer Tools 1,000+ 5 ★ 430KiB

icon

Contributors on Github Extension · Developer Tools 1,000+ 5 ★ 15.6KiB

icon

Git History Browser Extension Extension · Productivity 1,000+ 8 ★ 19.4KiB

icon

github npm stats Extension · Developer Tools 1,000+ 4 ★ 65.86KiB

icon

github-vscode-icons Extension · Developer Tools 1,000+ 16 ★ 1.71MiB

icon

npmhub Extension · Developer Tools 1,000+ 19 ★ 77.19KiB

User reviews

icon

Anita Ihuman (ID: 000000b32c75c9a0) Voted 5 ★ - Updated 08/17/2020 i love using this extension

icon

Konstantin K. (ID: 000000b38fa78141) Voted 3 ★ - Updated 04/19/2018 Not sure, seems it doesn't work for me.