@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.