{"id":21150735,"url":"https://github.com/reubenjohn/code-snippet-ahk-editor","last_synced_at":"2025-06-18T23:37:45.455Z","repository":{"id":72663641,"uuid":"455751208","full_name":"reubenjohn/code-snippet-ahk-editor","owner":"reubenjohn","description":"Converts a code snippet to an Auto Hotkey Script for your favorite editor","archived":false,"fork":false,"pushed_at":"2022-04-13T20:09:14.000Z","size":32,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T08:09:35.692Z","etag":null,"topics":["auto-hotkey","competetive-programming","python","snippets"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/reubenjohn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-05T02:00:49.000Z","updated_at":"2024-01-08T18:26:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"f8693e4a-b9da-48d8-aa29-828716949158","html_url":"https://github.com/reubenjohn/code-snippet-ahk-editor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reubenjohn%2Fcode-snippet-ahk-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reubenjohn%2Fcode-snippet-ahk-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reubenjohn%2Fcode-snippet-ahk-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reubenjohn%2Fcode-snippet-ahk-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reubenjohn","download_url":"https://codeload.github.com/reubenjohn/code-snippet-ahk-editor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243590370,"owners_count":20315666,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["auto-hotkey","competetive-programming","python","snippets"],"created_at":"2024-11-20T10:06:46.410Z","updated_at":"2025-03-14T14:24:04.749Z","avatar_url":"https://github.com/reubenjohn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# code-snippet-ahk-editor\nConverts a code snippet to an Auto Hotkey Script for your favorite editor\n\n# Prerequisites\n\nThis project is implemented in python, and assumes you have python 3 installed in order to execute.  \nAdditionally, since the program generates [AutoHotkey](https://www.autohotkey.com/) scripts, you would thus also need to have this software installed in order for the code snippet functionality to take effect.\n\n# Quick Start\n\nOnce you have the prerequisite software installed, the below guide should get you up and running with code snippets at your fingertips.\n\nExecute the below shell script in a terminal that supports running shell scripts:\n\n    ./process_java_samples.sh\n\nThis generates AutoHotkey scripts for inserting code snippts for common Java algorithms such as binary search.\nSee `process_java_samples.sh` for more information.\n\nNext, you can launch the index.ahk script with AutoHotkey to activate the code snippets.  \nThis will allow you to insert the code snippets configured in the index.ahk file.  \n\n### Activating a code snippet\n\n1. Press `Ctrl+Alt+Shift+I` to activate the prompt\n2. Next, enter one of the short hands configured in the index.ahk file, for example `p` followed by `l` (println)\n3. Now, you can insert one character at a time by pressing any of the function keys in any order. For example, `F1`, `F4`, etc.\n4. Once the snippet reaches completion, the function keys will restore their original functionality in a few seconds.\n5. You can abort at any time with `Ctrl+Shift+Esc`\n\nYou may customize this functionality by modifying the index.ahk file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freubenjohn%2Fcode-snippet-ahk-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freubenjohn%2Fcode-snippet-ahk-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freubenjohn%2Fcode-snippet-ahk-editor/lists"}