Leetcode format

Adds Format code button on leetcode to format the code using Prettier code formatter

什么是Leetcode format?

Leetcode format是由Madhur Ahuja开发的Chrome扩展程序,该扩展的主要功能是“Adds Format code button on leetcode to format the code using Prettier code formatter”。

扩展截图

screenshot
screenshot

下载Leetcode format扩展crx文件

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

扩展使用说明

                        This Google chrome extension adds the Format button to the LeetCode code editor. Currently supported programming languages are Java, C++, JavaScript, TypeScript and Dart.

Supports LeetCode old and new UI both, including dynamic layout.

Release Notes 1.9:
* Bug fix with dynamic layout

Release Notes 1.8:
* Bug fixes

Release Notes 1.7:
* Bug fixes for new UI
* Add hotkey support for old UI as well

Release Notes v1.6:
* Added hotkey support (CTRL + ALT + F)

Release Notes v1.5:
* Added support for both old and new UI.                    

扩展基本信息

名称 Leetcode format Leetcode format
ID imogghebhifnnlgogigikjecilkicfpp
官方URL https://chromewebstore.google.com/detail/leetcode-format/imogghebhifnnlgogigikjecilkicfpp
简介 Adds Format code button on leetcode to format the code using Prettier code formatter
文件大小 2.42 MB
安装次数 5,832
当前版本 1.9
更新时间 2023-12-25
上架时间 2020-12-27
评分 4.28/5 共29次评分
开发者 Madhur Ahuja
电子邮箱 [email protected]
付费类型 free
扩展官网 https://madhur.co.in
帮助页面URL https://github.com/madhur/leetcode-format-chrome-extension/issues
隐私政策页面URL https://www.madhur.co.in/leetcode-format.html
支持的语言 en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "name": "Leetcode format",
    "version": "1.9",
    "manifest_version": 3,
    "description": "Adds Format code button on leetcode to format the code using Prettier code formatter",
    "homepage_url": "https:\/\/github.com\/madhur\/leetcode-format-chrome-extension",
    "icons": {
        "16": "icons\/icon16.png",
        "48": "icons\/icon48.png",
        "128": "icons\/icon128.png"
    },
    "content_scripts": [
        {
            "js": [
                "content.js"
            ],
            "matches": [
                "https:\/\/*.leetcode.com\/*",
                "https:\/\/*.leetcode.cn\/*"
            ]
        }
    ],
    "web_accessible_resources": [
        {
            "resources": [
                "dart-style.js",
                "standalone.js",
                "parser-babel.mjs",
                "parser-typescript.mjs",
                "parser-java.js",
                "beautify.js",
                "script.js"
            ],
            "matches": [
                "https:\/\/*.leetcode.com\/*",
                "https:\/\/*.leetcode.cn\/*"
            ]
        }
    ]
}