Lua scripting Plugin
-
Lua scripting Plugin:
I Wish there was a Button on the Toolbar to Run (Execute the Code).
Fantastic for Testing Short Scripts.
Its capabilities. This provides control over all of Scintilla’s features and options with a light-weight, fully-functional programming language.
Author: Justin Dailey
-
@Alan-Robinsin said in Lua scripting Plugin:
Author: Justin Dailey
Maybe you get Justin’s attention faster with this: @dail
-
or by opening a feature request in his repo.
-
The LuaScript plugin already provides a menu item to execute the code in current editor tab, see
(menu) Plugins -> LuaScript -> Execute Current File
.With the help of the CustomizeToolbar plugin you can create a toolbar button linked to that menu entry by yourself. The plugin provides help how to do that, see
(menu) Plugins -> Customize Toolbar -> Help - Custom Buttons
.But since coding implies that you have your fingertips already at the keyboard, I would like to suggest to use Npp’s macro feature to create a macro that
- saves the current file and
- calls LuaScript’s
Execute Current File
feature.
That macro you can assign to a keyboard shortcut.
-
@dinkumoil said in Lua scripting Plugin:
The LuaScript plugin already provides a menu item to execute the code in current editor tab, see
(menu) Plugins -> LuaScript -> Execute Current File
.With the help of the CustomizeToolbar plugin you can create a toolbar button linked to that menu entry by yourself. The plugin provides help how to do that, see
(menu) Plugins -> Customize Toolbar -> Help - Custom Buttons
.But since coding implies that you have your fingertips already at the keyboard, I would like to suggest to use Npp’s macro feature to create a macro that
- saves the current file and
- calls LuaScript’s
Execute Current File
feature.
That macro you can assign to a keyboard shortcut.
thanks my issue has been fixed.
-
This post is deleted!