Sublime Text - Packages



Software packages are installed in Sublime Text for additional functionalities. You can see the list of software packages through the shortcut key Ctrl+Shift+P on Windows and Cmd+Shift+P on Mac. Observe the following screenshots for a better understanding −

Installing Software Packages

Installing Software Packages2

These packages are installed in the Packages → User directory which includes the entire necessary configuration. To browse the packages, select Preferences → Browse Packages option, as shown in the screenshot below −

Packages User Directory Configuration

Packages User Directory Configuration2

Packages User Directory Configuration3

These files are the customized configuration which can be changed as and when needed. The packages are created in JSON format.

Consider the sublime-keymap package created which includes following code −

[
   { 
      "keys": ["super+alt+;"],
      "command": "run_macro_file",
      "args": {"file": "Packages/User/semicolon.sublime-macro"}
   }
]
Advertisements