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
官方網址 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"
}