lazarus_ide_editor_macros
Miscellaneous lazarus-ide editor macros
- Quiet · last change 1-27-2024
- ★ 1 on GitHub
README
Lazarus IDE Editor Macros
Miscellaneous Lazarus IDE Editor Macros
| Macro | Description |
|---|---|
| apostrophe.pas | appends the closing apostrophe and places the cursor between the two apostrophes. |
| parentheses.pas | appends the closing parentheses and places the cursor between the two parentheses. |
| breakline_string.pas | simplifies the process of breaking an existing string into two lines |
| backspace.pas | improved backspace, to handle apostrophes and parentheses |
Usage
Activate Editor Macros
Lazarus IDE > Package > Install/Unistall Packages...
In 'Available for Installation' list choose these packages
- pascalscript
- EditorMacroScript
- Save and rebuild IDE
Adding Macros
Lazarus IDE > View > Editor Macros
- Click in 'Record', press one key and stop macro.
- Move the recorded macro to IDE or Project.
- Click in 'Edit', replace the code of macro script for the content of .pas file in repository and save.
- Click 'Edit Key' to choose the shortcut.
Contributions are welcome, submit a pull request :)

