Editio

Add some extra features to inputs and textareas

目前為 2024-11-30 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
PRO-2684
評價
0 0 0
版本
0.1.2
建立日期
2024-11-28
更新日期
2024-11-30
尺寸
12.4 KB
授權條款
GPL-3.0
腳本執行於
所有網站

✨ Introduction

Editio is a simple script that adds some extra features to inputs and textareas, inspired by Visual Studio Code. It's lightweight and (theoretically) applies to all inputs and textareas on all websites.

🪄 Features & Configuation

  • 🖇️ Pairing: Pairing brackets and quotes
    • ➕ Auto close: Autoclose brackets and quotes (Similar to editor.autoClosingBrackets in VSCode)
    • ➖ Auto delete: Remove adjacent closing quotes or brackets (Similar to editor.autoClosingDelete in VSCode)
    • 🚫 Auto overtype: Type over closing brackets (Similar to editor.autoClosingOvertype in VSCode)
      • The input character is a closing one and the same as the character after the cursor
      • The character before the cursor is the respective opening one
      • Doesn't work for pairs with the same opening and closing characters
    • 🔁 Jumping: Jump between paired brackets
      • Press Ctrl + Q to jump to the matching bracket
      • Doesn't work for pairs with the same opening and closing characters
    • 📜 Pairs: A list of characters that should be paired (The length should be even)
  • ↔️ Tabulator: Tab-related features
    • ↪️ Tab out: Pressing (Shift+) Tab to move to the next (or previous) character specified (Similar to the extension albert.TabOut)
    • 📜 Tab out chars: Characters to tab out of

📃 Notes

I've done my best to make undo/redo history work as similar to VSCode as possible. However, there are still some minor differences. Any contributions are welcome!