Leetcode format

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

Total ratings

4.30 (Rating count: 30)

Review 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 perfectly for many users, especially with C++.
  • Open source extension which allows for community contributions.
  • Has been described as a lifesaver for LeetCode users.
  • Offers formatting functionality that enhances code readability.
Cons
  • Not working on the new Dynamic Layout of LeetCode.
  • Formatting issues with certain syntax (e.g., min and max not aligning as desired).
  • Does not support Java effectively according to some users.
  • Line numbering gets disturbed after installation.
Most mentioned
  • Does not work on Dynamic Layout.
  • Works perfectly for some languages like C++.
  • Feature request for keyboard shortcut.
  • Formatting button missing in the new UI or leetcode.cn.
See reviews for Leetcode format on Chrome Web Store
Upgrade to see all 45 reviews

User reviews

Recent rating average: 4.10
All time rating average: 4.30
Upgrade to see all 45 reviews

Rating filters

5 star
58% (26)
4 star
9% (4)
3 star
27% (12)
2 star
2% (1)
1 star
4% (2)
Date Author Rating Lang Comment
2024-06-22
Ismael Boussatta
2024-01-19
Harsh Narayan
en 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!
2024-01-16
Aman malik
en The key bindings are not working on Mac
2024-01-03
Mayank Yadav
en what's the key binding to format the code?
2023-11-26
Skanda Bhargav
en (As of 12/23) Format is not working in the new Dynamic Layout (11/26) Works in the new Dynamic Layout as well
2023-12-11
Aditya Raj
en Now it's working for new layout as well. Great Work!
2023-12-06
Mike Clarke
en @Madhur Ahuja - great job with this, thank you! This does exactly what I was hoping for and fixes my biggest annoyance with leetcode's editor.
2023-10-19
Harsh Kumar
Does not work on Dynamic Layout even after update.
2023-10-19
Harsh Kumar
en Does not work on Dynamic Layout even after update.
2023-09-21
Chirag M R
it is not working in the new leetcode website,
Upgrade to see all 45 reviews