aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/luaexpander.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Macros: Add better examples for "prefix" variablesEike Ziller2025-06-301-5/+7
| | | | | | | | | | | | | Variables registered with `registerPrefix` are shown in the variable chooser as `Prefix:<value>`, and that was used to show the "current value" as the example in the variable chooser. Add an explicit "example value" to the registerPrefix calls that is used instead of "<value>" for the expanded example in the variable chooser. Fixes: QTCREATORBUG-33120 Change-Id: I4cc522856bf9a7fefeea2ea498de5f67d503b86a Reviewed-by: Alessandro Portale <[email protected]>
* Replace most expected_str by Utils::Resulthjk2025-04-111-2/+2
| | | | | | | | Keep it in Axivion dto, which is generated. Change-Id: I83a12de6234ac7b0218b369875bdc72d25dbadfb Reviewed-by: Eike Ziller <[email protected]> Reviewed-by: Jarek Kobus <[email protected]>
* Lua: Macro supportMarcus Tillmanns2024-07-311-0/+104
Allows users to use "%{Lua: ...}" to execute Lua code in their macros. Adds "Macro" module with expand() and value() functions. Change-Id: I6315b0646fbb503a77fd0cc631aed204abf3b699 Reviewed-by: Cristian Adam <[email protected]>