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
Manifest V3
Size: 2.54M
Email: ah*****@gmail.com
URLs: Privacy policy
Full description: See detailed description
Ranking
User 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!
by
Harsh Narayan, 2024-01-19
The key bindings are not working on Mac
by
Aman malik, 2024-01-16
what's the key binding to format the code?
by
Mayank Yadav, 2024-01-03
Extension safety
Risk impact
Leetcode format requires very minimum permissions.
Risk impact analysis details
- High Injects scripts into web pages, which may alter or extract site contents, resulting in a substantial risk.
- Low ******* ****** ** *** ********* ********
Risk likelihood
We don't have sufficient data to confidently determine the risk likelihood of Leetcode format. Use it at your own risk.
Risk likelihood analysis details
- High This extension has low user count. Unpopular extensions may not be stable or safe.
- Low **** ********* *** ******* **** **** * ****** **** ***** ******** *** **** ****** ** ** ****** *** *****
- Low **** ********* *** ***** **** **** * ****** **** ***** ********** *** **** ****** ** ** ****** *** *****
- Good **** ********* ** * ******** ********* ** ****** *** *****
- Good **** ********* *** **** **** *******
Upgrade to see full risk analysis details
Similar extensions
Here are some Chrome extensions that are similar to Leetcode format:
Lovesh Dongre
10K
https://tash-had.com
1,000
Vishnuvardhan S
776
Himanshu Agrawal
6K
devkaisel
10K
Prashant kumar yadav
809
https://soumya.dev
30K
Wsl_F
50K
Bhanu Prakash
10K
Qasim Wani
30K
Aditya
7K
Samarth Tambad
3K