Adds Format code button on leetcode to format the code using Prettier code formatter
Leetcode Format - A Code Formatting Extension for Prettier Code
'Leetcode format' is a Chrome extension that enables users to easily format their code in Leetcode's code editor using the Prettier code formatter. This versatile tool supports both Java, C++, JavaScript, TypeScript and Dart languages and equally functions on LeetCode's old and new UI including the dynamic layout. With its hotkey support, users can quickly format their code to ensure improved readability and cleaner presentation. It continually updates to ensure compatibility with Leetcode's UI changes and to fix-any-existing bugs.
Extension stats
Risk impact: Low risk impact
Risk likelihood:
Manifest version: 3
Size: 2.54M
Email: ah*****@gmail.com
URLs: Privacy policy
Ranking
# 13,405
Want to check extension ranking and stats more quickly for other Chrome extensions?
Install
Chrome-Stats extension
to view Chrome-Stats data as you browse the Chrome Web Store.
Extension summary
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:
See moreUser reviews
Pros
- Works well in Split View mode
- Helpful for formatting code on LeetCode
- Open source and encourages contributions
- User-friendly for JavaScript/TypeScript and C++
- Great extension for LeetCode users
Cons
- Formatting issues in new Dynamic Layout
- Key bindings not working on Mac
- Extension stops working after updates on new UI
- Formatting button not appearing in certain layouts
- Line numbering issues after installation
Most mentioned
- Does not work on Dynamic Layout after updates
- Formatting issues with min and max syntax
- Request for keyboard shortcuts
- Questions about key bindings
- Works but needs a clearer interface for new users
User reviews
Great Extension , but can you change the formatting of min and max , because if written in the form of min({a,b,c}) , it puts a , b , c in different lines which looks really weird . Thanks!
The key bindings are not working on Mac
Extension safety
Risk impact
Leetcode format requires very minimum permissions.
Risk likelihood
Leetcode format has earned a good reputation and can be trusted.
Upgrade to see risk analysis details
Similar extensions
Here are some Chrome extensions that are similar to Leetcode format:
Leetcode Enhancer LeetCode Buddy Leetcode Custom Themes CodingBuddy LeetHub v2 Leetcode Analyzer LeetCode Video Solutions CF-Predictor LeetCode Timer LeetHub GfG to LeetCode Leetcode Timer
Lovesh Dongre
3.81
10,000+
https://tash-had.com
3.50
1,000+
Vishnuvardhan S
4.67
643
Himanshu Agrawal
4.71
6,000+
devkaisel
2.92
10,000+
Prashant kumar yadav
3.67
781
https://soumya.dev
4.44
30,000+
Wsl_F
4.25
50,000+
Bhanu Prakash
4.35
10,000+
Qasim Wani
3.71
40,000+
Aditya
4.06
7,000+
Samarth Tambad
3.67
3,000+