- SublimeCodeIntel Plugin
- Distraction Free Mode
- Sublime Text – Batch Processing
- Debugging Javascript Application
- Debugging PHP Application
- Sublime Text – Command Palette
- Sublime Text – Developing Plugin
- Sublime Text – Sub Menus of Font
- Sublime Text – Menus
- Sublime Text – Packages
- Sublime Text – Spell Check
- Sublime Text – Testing Python Code
- Sublime Text – Testing Javascript
- Sublime Text – Vintage Commands
- Understanding Vintage Mode
- Sublime Text – Theme Management
- Sublime Text – Base Settings
- Sublime Text – Indentation
- Sublime Text – Column Selection
- Sublime Text – Key Bindings
- Sublime Text – Macros
- Sublime Text – Snippets
- Sublime Text – Shortcuts
- Sublime Text – Sublime Linter
- Patterns of Code Editing
- Editing First Text Document
- Creating First Document
- Sublime Text – Data Directory
- Sublime Text – Installation
- Sublime Text – Introduction
- Sublime Text - Home
Sublime Text Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Subpme Text - Macros
Macros are the basic automation facipty that includes a sequence of commands. You can use macros whenever you need to perform an operation which includes same steps.
Macro files are JSON files with an extension called .subpme-micro and are considered to be very helpful.
Recording a Macro
Recording a macro defines the procedure to keep a set of commands needed for the given file. You can record a macro in two ways −
Use the shortcut key Ctrl+Q for recording a macro in Windows and Cmd+Q in Mac.
Use the record option in Tools → Record Macro.
Once the macro has started recording, you can see the following message in Subpme Text editor −
Playing a Macro
You can use the shortcut key Ctrl+Shift+Q on Windows and Cmd+Shift+Q for Mac, to play a macro recorded by the user in Subpme Text. Note that this shortcut plays the last recorded macro in Subpme.
Saving a Macro
You can save a recorded macro using the option Tools → Save Macro. The following screenshot shows how to save a macro using this option.
You can also redefine the macros using various options in Tool menu bar, as shown below −
Advertisements