_DevPad is an in-game text editor and addon authoring tool, inspired by Mud'sHack.
Keep notes with it, write Lua scripts, or prototype addon concepts in its trimmed down development environment. Organize your scripts into folders and share them with other _DevPad users. Scripts can run automatically on login like mini addons, and can call each other like libraries or dependencies.
When you first install _DevPad, it includes an Instruction Manual script with a quick reference to using the mod. Here's an even quicker reference to the simple UI:
Reorganize scripts and folders by dragging and dropping. Rename any folder or script by double clicking.
Set scripts to auto-run by clicking the arrow buttons next to their names in the list. They will then run right after _DevPad's ADDON_LOADED event in the listed order.
Search script contents using Lua patterns in the search bar below the list.
Adjust font and font size, toggle Lua mode per-script, and access other editing tools with buttons at the editor's top-right.
Without Lua mode, chat links in scripts become clickable, and text coloring tools appear at the editor's top-right.
Use line numbers to navigate code. Click a line number to select that line.
There is no save button; Script text is saved as you type.
Undo and redo changes with standard keyboard shortcuts, or with the left and right arrow buttons at the top-right of the editor.
Use familiar keyboard shortcuts to manipulate text:
<Ctrl+Z>/<Ctrl+Shift+Z>: Undo and redo.
<Ctrl+G>: Go to line number dialog.
<Ctrl+F>: Focus the list's search edit box.
<F3>/<Shift+F3>: Jump to next/previous search result.
There are two ways to open the list window: by keybind, or with the /devpad or /pad slash commands.
There are also two ways to run scripts as Lua code. With a script open, click the play button at the top-left of the editor window. Alternatively, you can run them by name if you include a Lua pattern with the slash command, like so: /devpad Example Script. You can use the slash command in a macro to bind keys to _DevPad scripts.
Sending and Receiving
You can send scripts, even entire folders, to others with the trumpet icon at the top of the list window. When you receive something, you'll hear a sound and see a chat message prompting you to open your _DevPad. Once opened, you can choose to keep or discard the new item. Remember to always inspect what you receive from others before you run it though!
For help writing scripts, see the default Instruction Manual and Example Script pages.
Some components of _DevPad can safely be deleted to trim the editor even further:
<_DevPad/_DevPad.DefaultScripts.lua>: Default scripts and folders.
<_DevPad.GUI/_DevPad.GUI.Editor.Color.lua>: Color editing tools for non-Lua scripts.
<_DevPad.GUI/_DevPad.GUI.Editor.History.lua>: Undo and redo history.
<_DevPad.GUI/_DevPad.GUI.Editor.LineNumbers.lua>: Line numbering.
<_DevPad.GUI/_DevPad.GUI.List.Search.lua>: Script text searching tools.
By default, _DevPad comes with an Importers folder containing scripts to import pages from other notepad mods. WowLua, Hack, and TinyPad are currently supported. See the comments at the tops of these scripts for specific usage instructions.
184.108.40.206 / GUI: Moved editor line numbering into an optional module.
Added a new default library script named Libs/RegisterForSave to allow other scripts to save variables between sessions. See <_DevPad/_DevPad.DefaultScripts.lua> if you want to copy it into your existing pad.
While dragging an object in the list window, folders will only expand if you hold your mouse over them briefly.
Folders can now be opened and closed by simply clicking their names. Also, they now temporarily close while being dragged.
You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.
*Clicking the donate button above will take you to PayPal.com
*Clicking the donate button above will take you to Pledgie.com