{"id":16604324,"url":"https://github.com/dail8859/luascript","last_synced_at":"2025-03-16T21:30:52.928Z","repository":{"id":3841370,"uuid":"49984321","full_name":"dail8859/LuaScript","owner":"dail8859","description":"Notepad++ plugin for Lua scripting capabilities","archived":false,"fork":false,"pushed_at":"2024-02-01T16:37:52.000Z","size":1244,"stargazers_count":115,"open_issues_count":15,"forks_count":23,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-02-27T14:31:06.722Z","etag":null,"topics":["lua","notepad-plus-plus","plugin"],"latest_commit_sha":null,"homepage":"https://dail8859.github.io/LuaScript/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dail8859.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}},"created_at":"2016-01-19T21:27:32.000Z","updated_at":"2025-02-11T22:53:19.000Z","dependencies_parsed_at":"2023-01-11T16:33:31.992Z","dependency_job_id":null,"html_url":"https://github.com/dail8859/LuaScript","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dail8859%2FLuaScript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dail8859%2FLuaScript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dail8859%2FLuaScript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dail8859%2FLuaScript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dail8859","download_url":"https://codeload.github.com/dail8859/LuaScript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243830939,"owners_count":20354853,"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":["lua","notepad-plus-plus","plugin"],"created_at":"2024-10-12T00:57:04.598Z","updated_at":"2025-03-16T21:30:52.573Z","avatar_url":"https://github.com/dail8859.png","language":"C","readme":"# LuaScript\n\n[![Build status](https://ci.appveyor.com/api/projects/status/lxmu20jgggdm0xl3?svg=true)](https://ci.appveyor.com/project/dail8859/luascript)\n\nNotepad++ plugin for [Lua](http://www.lua.org/) scripting capabilities. This provides control over all of Scintilla's features and options with a light-weight, fully-functional programming language.\n\nMajor features include:\n\n- Assign Lua functions to shortcut keys\n- Register callback functions for events\n- Full Lua 5.3 functionality\n- Interactive console with auto-completion\n- Requires no special permissions\n\n## Getting Started\nInstall the plugin using the Notepad++ Plugin Admin, or you can manually download it from the [Release](https://github.com/dail8859/LuaScript/releases) page and extract the zip into your `plugins` folder.\n\n#### Lua Console\nLuaScript provides an interactive console for running Lua commands. This can be shown by `Plugins \u003e LuaScript \u003e Show Console`.\n\n#### Startup Script\nLuaScript looks for the `\\plugins\\config\\startup.lua` file and automatically runs it on Notepad++ startup. You can easily edit this file via `Plugins \u003e LuaScript \u003e Edit Startup Script`. You can include any commands you want to immediately execute on program startup, as well as register any additional shortcuts or callbacks.\n\n#### Registering New Shortcuts\nNew functions can be added as shortcuts by using [AddShortcut](https://dail8859.github.io/LuaScript/classes/Notepad.html#Notepad.AddShortcut). The new menu items are listed under the `Plugins \u003e LuaScript` menu. For example [this script](https://dail8859.github.io/LuaScript/examples/visualstudiolinecopy.lua.html) adds 2 new menu items.\n\n#### Registering Callback Functions\nScripts can also register functions to be called when certain events occur, such as a file being opened, text being modified, etc. Each callback provides a different set of parameters. See the documentation for [callbacks](https://dail8859.github.io/LuaScript/topics/callbacks.md.html) to see the entire list of possible events and parameters provided.\n\n## Documentation\nThe full API documentation can be found [here](http://dail8859.github.io/LuaScript/). Also be sure to check out the [examples](/examples/) directory.\n\n## Development\nThe code has been developed using Visual Studio 2019. To compile the code:\n\n1. Open the `LuaScript.sln` file\n1. Press `F7` and that's it!\n\nFor convenience, Visual Studio automatically copies the DLL into the Notepad++ plugin directory. \n\n## License\nThis code is released under the [GNU General Public License version 2](http://www.gnu.org/licenses/gpl-2.0.txt).\n\n#### Thanks\nSpecial thanks to the [PythonScript](https://github.com/bruderstein/PythonScript) plugin and [SciTE](http://www.scintilla.org/SciTE.html).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdail8859%2Fluascript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdail8859%2Fluascript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdail8859%2Fluascript/lists"}