GeeksforGeeks Code Formatter is a browser extension that enhances the coding experience on the GeeksforGeeks platform. It automatically adds a "Format" button to the coding environment, allowing users to easily format their code for better readability. The extension integrates features like code indentation, formatting rules, and customizations, helping programmers present their code in a consistent and organized manner.
This extension also supports the convenient keyboard shortcut Ctrl + Shift + F
, making code formatting a breeze.
Currently, the extension offers support for the following languages, with future plans to expand the list:
- C++
- Java
This project was inspired by leetcode-format-chrome-extension, which was designed for LeetCode. I adapted and replicated its functionality to enhance the coding experience on GeeksforGeeks.
Thank you for considering contributing to this project! Your contributions are highly appreciated.
To start contributing, follow these steps:
-
Fork the Repository: Fork this repository to your GitHub account.
-
Clone the Repository: Clone the forked repository to your local machine using the following command:
git clone https://github.com/Surya-Kumar-03/GFG-Code-Formatter.git
-
Create a Branch: Create a new branch for your contribution. Use a descriptive name that reflects the nature of your work.
git checkout -b feature/your-feature
-
Code: Keep your code clean.
-
Commit: Commit your changes with a clear and concise commit message. Use present tense and provide a brief overview of your changes.
git commit -m "Add feature: description of your changes"
-
Pull Request: Push your branch to your forked repository and create a pull request to the original repository's
main
branch. Include a detailed description of your changes in the pull request.
Thank you for being a part of this project and helping improve it! Your contributions are valuable in making this project successful and impactful.