Skip to content

ISO53/LeetMacro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetMacro

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();`


GitHub Release License GitHub code size in bytes Chrome Web Store

Table of Contents

Features

  • 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.

Installation

  1. Clone the repository
    git clone https://github.com/ISO53/LeetMacro.git
  2. Locate the project directory
    cd LeetMacro
  3. Then zip the project files and upload it to chrome for testing, development or any other stuff.

Usage

  1. Open the Popup:

    • Click on the LeetMacro extension icon next to the address bar in your browser.
  2. Add a New Macro:

    • Click on "Add New" to create a new macro.
    • Enter a shortcut (key) and the corresponding code snippet (value).
  3. 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.

Contributing

Your contributions are valued! We appreciate your cooperation in making our project better.

License

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.