Prettier Chrome Extension

prettier chrome extension

什么是Prettier Chrome Extension?

Prettier Chrome Extension是由Unknown开发的Chrome扩展程序,该扩展的主要功能是“prettier chrome extension”。

扩展截图

screenshot
screenshot
screenshot
screenshot
screenshot

下载Prettier Chrome Extension扩展crx文件

下载Prettier Chrome Extension扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。

扩展使用说明

                        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.                    

扩展基本信息

名称 Prettier Chrome Extension Prettier Chrome Extension
ID khnhpkjhoogpgnbhagabcnamppfohhjd
官方URL https://chromewebstore.google.com/detail/prettier-chrome-extension/khnhpkjhoogpgnbhagabcnamppfohhjd
简介 prettier chrome extension
文件大小 3.36 MB
安装次数 1,045
当前版本 0.1.0
更新时间 2017-03-23
上架时间 2017-03-23
评分 4.00/5 共2次评分
开发者 Unknown
付费类型 free
扩展官网 https://github.com/jamez14/prettier-chrome-extension
支持的语言 en-US
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"
}