Create Lua scripts
To add small features to Qt Creator, create and run Lua scripts.
The sample script adds a string at the current cursor position in the editor.
To create Lua scripts:
- Go to Tools > Scripting > New Script.
- In File name, enter a name for the script file.
- Select Finish to create the script file.
- Edit the sample script.
Run Lua scripts
To run Lua scripts:
- Go to Tools > Scripting.
- Select a script, and then select Run.
Edit Lua scripts
To edit Lua scripts:
- Go to Tools > Scripting.
- Select a script, and then select Edit.
See also Record text editing macros.