Sublime Text 3 includes a command line tool called subl that lets you quickly open the Sublime Text editor, work with files and directories, and more, all from the command line.įollow these terminal instructions for MacOS to get started. If you’re looking for a list of shortcut commands on Windows, check out this GitHub Gist. You can run the profiling tool from Tools > Developer > Profile Plugins.įor more shortcuts across MacOS, Windows, and Linux, check out this resource.
See how much time each package adds to events such as startup time, opening and closing files, and modifying text. Plugin profiling tool: If you use a lot of packages, this tool will help you manage the performance of your editor.
#Sublime text windows preferences code#
You can also create your own code snippets from the Tools menu. Try opening a Python file, typing "defs", and then hit tab to automatically set up a generic function. Turn the minimap on or off by opening the command palette with CMD + SHIFT + P and typing View: Toggle Minimap.Ĭode snippets: Sublime Text comes with integrated code snippets. You can click and drag down the minimap to change your position in the file.
Minimap: Sublime Text has a large scrollbar on the right-hand side of the text editor that provides a preview of where you are in a file. If you want to find a command name, you can turn on verbose logging of Sublime commands with sublime.log_commands(True). Integrated console (CTRL + `): Open a console inside the editor. This command will open a new tab with the references. This is useful if you have to rename a function, class, or variable globally.įind in project (CMD + SHIFT + G): Quickly search all files and optionally perform a replace or replace all in the process. Replace all references (CMD + CTRL + G): Quickly select and edit all references of a word in a file at once with this command. Goto line number (CTRL + G): Quickly navigate to any line in a file using this command.Ĭhange line order (CMD + CTRL + ↓ and CMD + CTRL + ↑): Move a selected line of code up or down. This makes it really easy to navigate between modules of your codebase.
Goto symbol (CMD + R or CTRL + R): You can open a panel where you can see a list of all functions and classes within a file. Goto definition: Right click on a class or method referenced in your code to jump to its definition. Sublime Text also supports this functionality with the use of shortcut commands. Jump to previous position (CTRL + - to go backward, CTRL + SHIFT + - to go forward): One VS Code’s best features is the two arrow buttons in the status bar that allow you to navigate between your current and previous cursor positions. To open a split layout manually, right click on a file in the tree and clicking "Edit to the right." You can also access multi-column layouts from View > Layouts in the main menu. Split layouts (OPTION + CMD + 2 to split into two columns, OPTION + CMD + 1 to revert to one column): You can edit two files at once by arranging your files in a split screen view. We’ll cover a few of the most important ones below. You can also create your own keybindings to customize your personal workflows. You can find a list of all the keybindings in Sublime Text by going to Sublime Text > Preferences > Keybindings.
Many of Sublime Text’s most powerful features are hidden behind a simple interface and exposed with keybindings.
#Sublime text windows preferences download#
Whether you’re learning to code or just looking for some quick suggestions, we’ve put together a short guide to help you set up your Sublime Text environment.īefore you download any plugins, there are some useful built-in Sublime Text features and shortcuts you should know about. It easily contends with VS Code, Atom, and IntelliJ as one of the top code editors of 2019. Sublime Text is a high-performing, easy-to-use, and extensible code editor.