jecsatta / lazarus_ide_editor_macros

Miscellaneous lazarus-ide editor macros

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  1. pascalscript
  2. EditorMacroScript
  3. Save and rebuild IDE
Adding Macros

Lazarus IDE > View > Editor Macros

  1. Click in 'Record', press one key and stop macro.
  2. Move the recorded macro to IDE or Project.
  3. Click in 'Edit', replace the code of macro script for the content of .pas file in repository and save.
  4. Click 'Edit Key' to choose the shortcut.

Contributions are welcome, submit a pull request :)

About

Miscellaneous lazarus-ide editor macros


Languages

Language:Pascal 100.0%