Leetcode format

Leetcode format

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

What is Leetcode format?
'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.
Stats
Users: 5,000+
Rating: 4.28 (29)
Version: 1.9 (Last updated: 2023-12-25)
Creation date: 2020-12-27
Risk impact: Low risk impact
Risk likelihood: Very low risk likelihood
Manifest version: 3
Size: 2.54M
Stats date:

Other platforms

Not available on Firefox
Not available on Edge
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.
Chrome-Stats 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 more
User reviews
User reviews summary
These summaries are automatically generated weekly using AI based on recent user reviews. Chrome Web Store does not verify user reviews, so some user reviews may be inaccurate, spammy, or outdated.
Pros
  • Works great for C++
  • Useful for LeetCode users
  • Much needed extension
  • Saves time formatting code
Cons
  • Does not work for Java
  • Formatting button not visible on certain versions of LeetCode
  • Some issues with new Dynamic Layout
Most mentioned
  • Does not work on leetcode's new UI
  • Works for C++
  • Much needed extension
Recent 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 Harsh Narayan, 2024-01-19

The key bindings are not working on Mac
by Aman malik Aman malik, 2024-01-16

what's the key binding to format the code?
by Mayank Yadav Mayank Yadav, 2024-01-03
View all user reviews
Safety
Risk impact

Leetcode format is relatively safe to use as it requires very minimum permissions.

Risk likelihood

Leetcode format has earned a good reputation and can be trusted.

Upgrade to see risk analysis details
Screenshots
Similar extensions

Here are some Chrome extensions that are similar to Leetcode format: