Edit with Sublime Text™

Live editing text and HTML content of the page with the Sublime Text from the page context or DevTools.

什麼是Edit with Sublime Text™?

Edit with Sublime Text™是由rynu.smith開發的Chrome擴展程式,該擴展的主要功能是“Live editing text and HTML content of the page with the Sublime Text from the page context or DevTools.”。

擴展截圖

screenshot

下載Edit with Sublime Text™擴展crx文件

下載Edit with Sublime Text™擴展crx格式的文件,手動將Chrome擴充功能安裝到瀏覽器中,也可以將crx文件分享給朋友,輕鬆安裝Chrome擴充功能。

擴展使用說明

                        This extension facilitates editing of HTML node element's content within the popular Sublime Text editor, providing real-time updates upon saving the generated temporary file. Additionally, it enables external editing of "TEXTAREA," "INPUT[type=search]," and "INPUT[type=text]" elements.

There are three methods for sending content to the Sublime Editor:

1. Activate the simple inspector using the action button, click on the HTML node, and press the ESC key to cancel the operation if needed.
2. Use the DevTools "Elements" panel, where a new sub-pane is added. Select "Edit as HTML," choose an HTML node, and press the button to open the content in the Sublime Text editor.
3. Right-click on a "TEXTAREA" or "INPUT[type=text]" element and use the context menu item.

This extension supports simultaneous editing of multiple nodes. Each editor has its unique temporary text file, and saving updates the content of the respective node. These files are stored in the operating system's temporary directory with random filenames.

Additionally, the extension allows the DevTools panel to convert an external script or CSS resource to an internal equivalent. This functionality enables sending the content of remote resources to the external editor.

File extensions used for temporary resource creation:
1. HTML -> when innerHTML or outerHTML content is sent to the external editor.
2. JS -> when editing an inline script.
3. TXT -> when editing an editable area.

--- Legal
"Sublime Text" is a trademark of Sublime HQ Pty Ltd, registered in the U.S. and other countries. This extension is an independent project with no affiliation to the mentioned product.                    

擴展基本資訊

名稱 Edit with Sublime Text™ Edit with Sublime Text™
ID eiejadjdcchfommckmikpcdnihljbpai
官方網址 https://chromewebstore.google.com/detail/edit-with-sublime-text/eiejadjdcchfommckmikpcdnihljbpai
簡介 Live editing text and HTML content of the page with the Sublime Text from the page context or DevTools.
檔案大小 190 KB
安裝次數 11,032
目前版本 0.2.4
更新時間 2023-11-22
上架時間 2020-04-14
評分 3.75/5 共 36 次評分
開發者 rynu.smith
電子郵箱 [email protected]
付費類型 free
擴展官網 https://webextension.org/listing/edit-as-html.html?from=sublime
說明頁面URL https://webextension.org/listing/edit-as-html.html?from=sublime
隱私政策頁面URL https://add0n.com/policies/rynu.smith.txt
支援的語言 en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "name": "Edit with Sublime Text\u2122",
    "description": "__MSG_description__",
    "version": "0.2.4",
    "default_locale": "en",
    "manifest_version": 3,
    "permissions": [
        "storage",
        "activeTab",
        "nativeMessaging",
        "notifications",
        "contextMenus",
        "scripting"
    ],
    "optional_permissions": [
        "downloads"
    ],
    "optional_host_permissions": [
        "*:\/\/*\/*"
    ],
    "background": {
        "service_worker": "worker.js"
    },
    "offline_enabled": true,
    "action": [],
    "options_ui": {
        "page": "\/data\/options\/index.html"
    },
    "icons": {
        "16": "\/data\/icons\/16.png",
        "32": "\/data\/icons\/32.png",
        "48": "\/data\/icons\/48.png",
        "64": "\/data\/icons\/64.png",
        "128": "\/data\/icons\/128.png",
        "256": "\/data\/icons\/256.png",
        "512": "\/data\/icons\/512.png"
    },
    "homepage_url": "https:\/\/webextension.org\/listing\/edit-as-html.html?from=sublime",
    "commands": {
        "_execute_action": []
    },
    "web_accessible_resources": [
        {
            "resources": [
                "\/data\/native\/index.html"
            ],
            "matches": [
                "*:\/\/*\/*"
            ]
        }
    ]
}