LEO: Auto-typing Tool for Teaching Coding
LEO is a teaching assistant for windows that auto-types code from a lesson plan.
📦 Installation
Quickest way to get LEO running is using the stable release.
Alternatively, you can install the dependencies in order:
🔧 VS Code Setup (Optional)
If you don’t have a preferred code editor, I recommend VS Code It comes with advanced features that help experienced coders. These (may) interfere with LEO lesson plans. You can disable them by loading the VS Code settings provided in …
LEO: Auto-typing Tool for Teaching Coding
LEO is a teaching assistant for windows that auto-types code from a lesson plan.
📦 Installation
Quickest way to get LEO running is using the stable release.
Alternatively, you can install the dependencies in order:
🔧 VS Code Setup (Optional)
If you don’t have a preferred code editor, I recommend VS Code It comes with advanced features that help experienced coders. These (may) interfere with LEO lesson plans. You can disable them by loading the VS Code settings provided in the settings folder.
How to Apply Settings:
- Open VS Code.
- Press
Ctrl + Shift + P. - Search for “Open User Settings (JSON)”.
- Paste the contents of the desired JSON file into the settings and save.
📂 How to Use
Run the tool:
start.bat
Load a Lesson:
- In the interface, go to
Load. - Select
Demo.jsonfrom theplans/directory.
Auto-Typing Mode:
- Press any lowercase letter key (a–z) to advance the typing.
- Other keys will behave normally.
- Use
Ctrl + Clickto jump to different parts in the plan. - Use
Ctrl + Pto toggle pause.
Create Lesson Plans:
- Add auto-typing or comment fields.
- Remove selected fields.
- Apply some auto-formatting.
- Use special functions: save, backspace, arrow keys, etc.
Tutorial Video: To Appear...
📝 Notes
-
🪟 Windows only.
-
💻 Most of the code is written in Python.
-
⚙️ Requires some understanding of AutoHotkey (AHK).
-
❗Current version of AHK (v1.1.37.02) is now deprecated (still works at the moment)
-
To create a new installation binary, use InnoSetup. Open LEOinstaller.iss, press compile on the toolbar, and it will create an exe file in the Output folder.
-
screen.ahkprovides optional window management shortcuts: -
Ctrl + Shift + Space: Keep window on top. -
Ctrl + Shift + T: Toggle window transparency. -
kill.batstops all AHK scripts (check system tray for active ones).
📺 Demo
The Demo lesson plan (in the plans folder), was used to create this video tutorial.
🧩 Potential Improvements
- Add support for multiple IDEs or settings profiles.
- Option to customize auto-typing trigger keys.
- Improve the interface for broader usability.
- Upgrade to use AHK v2.0
💡 Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss your idea.