LeetMacro is a Browser extension designed to streamline your coding experience on LeetCode by allowing you to create and use macros for commonly typed phrases or code snippets. Because nobody types `System.out.println();`
- Create custom macros for commonly typed phrases or code snippets
- Easily add, edit, and delete macros through a user-friendly popup interface.
- Replace macro shortcuts on demand with the corresponding code snippets as you type.
- Save and load macros using local storage.
- Clone the repository
git clone https://github.com/ISO53/LeetMacro.git
- Locate the project directory
cd LeetMacro
- Then zip the project files and upload it to chrome for testing, development or any other stuff.
-
Open the Popup:
- Click on the LeetMacro extension icon next to the address bar in your browser.
-
Add a New Macro:
- Click on "Add New" to create a new macro.
- Enter a shortcut (key) and the corresponding code snippet (value).
-
Use Macros:
- Type your shortcut key in the LeetCode editor, and it will automatically show you the full code snippet.
- Press
Enter
to accept the code snippet. Any other key will remove the suggested code snippet from the screen.
Your contributions are valued! We appreciate your cooperation in making our project better.
This project is licensed under the GNU General Public License v3.0. Feel free to modify the content and structure based on your preferences and project specifics.