Edit with Sublime Text™

#3.82 / 38 rate

Edit with Sublime Text™

10,000 users

2020-04-14

rynu.smith

Extension Information

5 star
44%
4 star
11%
3 star
17%
2 star
6%
1 star
22%

Supported Languages

Permissions

Optional hot Permissions

Optional Permissions

Description

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

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.