Is an amazing piece of software. To start, it is a clean, functional, and fast code editor. Not only does it have incredible built in features (multi-edit and vim mode), but it has support for plugins, snippets, and many other things. Jan 30, 2013 - Sublime Text 2 is far more than just a text editor; it combines stunning performance with a huge feature set. Bring up the Find feature with cmd/ctrl + F, then turn on case sensitivity by pressing cmd + alt + C on Mac OS X, or (alt + C on. Use projects to organise your workspace and customise settings. So your Java program is put in a something.java file (something must match the class name -- yes case sensitive) and you go to your terminal and navigate to the folder in which your something.java file is stored. I know there have already been many articles like this online, but I am teaching a class on Sublime Text and thought it would be good to have all the information online. In this article, we'll be diving into the best parts of Sublime Text. You've probably already heard of some of these, but maybe not some others. Features Command Palette ctrl + shift + p The command palette let's you access pretty much anything in the settings menus, call your package commands, change file syntax, handle Sublime projects, and so much more. For instance, you are able to call Git commands add, branch, commit, push, and pull all from the command palette. File Switching ctrl + p Sublime Text provides a really fast way to open up new files. Just press ctrl + p and start typing the name of the file you want. Once it shows up, just press enter and start typing directly into that file! To Use: ctrl + p Goto Symbols ctrl + r When you have a large file with a bunch of methods, pressing ctrl + r will list them all and make them easier to find. Just start typing the one you want and press enter. To Use: ctrl + r Sublime Text 3 also has a new feature (Goto Definition). It provides Sublime Text with more capabilities closer to an IDE. Take a look at that if you're interested. Multi-Edit ctrl + click This is in my opinion, the absolute best feature of Sublime. After using it here, it's hard to go back to other text editors. There are many different ways to use multi-edit: • ctrl + d: Select the current word and the next same word • ctrl + click: Every place you click will create a cursor to edit • ctrl + shift + f AND alt + enter: Find a word in your files and then select them all Snippets Snippets are yet another great feature of Sublime Text. You can use the pre-installed ones, build your own, or install a package that has more. All you have to do is type in a word and it will expand into your snippet. For example, typing lorem will generate lorem ipsum text. To Use: Type a word that activates a snippet (ie lorem) and press tab. For a full list of the Sublime Text Keyboard Shortcuts, take a look at our. Projects Projects is an integral part of my workflow in Sublime Text. A project is just a Sublime workspace in which your folders are open and stored in the sidebar. This helps since you can define a project and add folders to it, and be able to switch between folders quickly.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2019
Categories |