Introducing to Macro-N #10
CodeNameTwister
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
This plugin allows you to simplify any complex and repetitive code in just a few steps.
First Step: Creating Macro
For this example we take a random code
Note
It doesn't need to be enclosed in multiple quotes, it was just used to prevent the error from being highlighted.
Important
Look the arguments : arg0 and arg1 It will be important for later
Second Step: Save Macro
Now select the code and open the RMB context menu and select Macro-N.
You will see an information editing window that you must complete to save the new macro.
Important
I put generate at the beginning but you can put whatever you want as an example: fn arg0 arg1 arg2.
It is enough that part of the text matches (see final example)
Final Step: Test the Macro
After saving your macro, it's time to test it.
CTRL+Eas shown in the image.Knowledge
CTRL+E: Invoke Macro.CTRL+SHIFT+E: Invoke Macro with by pass (It respects additional text you have selected and can invoke nested macros within the macro content.)Context Menu: Show only to create Macro-N if you have text selected.ATL+END: Show All Macro-N saved.macro-n/save: This is where you have your macros saved.Extra
In this example I will insert static text anywhere along with the arguments

Beta Was this translation helpful? Give feedback.
All reactions