Adds Format code button on leetcode to format the code using Prettier code formatter
Total ratings
4.30
(Rating count:
30)
Review summary
Pros
- Works perfectly on leetcode.com with C++.
- Great for users, a lifesaver for coding challenges.
- Open source, encouraging community contribution.
- Helps fix formatting issues that users face with LeetCode's editor.
- Compatible with multiple languages like JS/TS.
Cons
- Not working on Dynamic Layout or the new UI.
- Formatting issues in certain cases (e.g., min and max formatting).
- Key bindings not functioning on Mac.
- Line numbering gets disturbed after installation.
- The formatting button is missing on leetcode.cn.
Most mentioned
- Does not work on Dynamic Layout even after update.
- Works perfectly and is a lifesaver!
- Feature request: Please add keyboard shortcut.
- Line numbering has been disturbed.
- Formatted code is not maintained in certain scenarios.
Upgrade to see all 45 reviews
Recent reviews
Recent rating average:
4.10
All time rating average:
4.30
Upgrade to see all 45 reviews
Rating filters
5 star 4 star
3 star
2 star
1 star
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