![]() ![]() This key-binding is just another way to scroll. If there is a key-binding, I can't live without it's this one. ![]() This key-binding is probably the one that I use the most. This key-binding lets me organise my code on the fly to make it easy to keep to a style guide. For example, I arrange my CSS code according to specificity. When I code, I like to place functions in a specific order as if I were adhering to a style guide. Instead of having to cut and paste it, you can simply move the lines up or down. If you are someone who cuts and pastes code to change the order that statements execute, you might find this key-binding very useful. Key binding: ctrl + shift + up or ctrl + shift + down Without further ado, let's get straight into it! So if you don't like the specific key combination, you could change it to something that suits your typing style or how your fingers rest on the keyboard. I'm doing this to emphasise that key-bindings are settings on Sublime Text that can be changed. So if there is one thing that I would like you to take away, there is no need to memorise all the shortcuts but instead, pick one or two that you find most useful.įrom this point on, I'll use the word key-binding instead of shortcut with reference to Sublime Text. After using them a couple of times, it becomes difficult to forget. I didn't memorise them all at once, but I stumbled across one or two interesting ones in a blog or YouTube video. The key bindings in this list are ones that I have memorised after needing to use them many times. So in this post, I want to go over my favourite non-generic key-bindings that I can't live without. The truth is most people never take it upon themselves to discover the shortcuts of an app or website that they regularly use, myself included. There are plenty of time-saving shortcuts, and I don't think people talk about them enough. If you're open-minded about what tools to use for writing Python code, try out some Python IDEs, they are very powerful and have pretty much all the features Python programmers could ever dream of.How much time has the shortcuts ctrl + c + ctrl + v saved you? If you could recall every line of code, every paragraph of text, every One Time Pin or URL that you copied and pasted instead of typing out, how much time would that add up to? And if more shortcuts existed that could turn a 30-minute task into 10 minutes, then surely that shortcut must be worth learning. For example, ST can't accept user input during program execution, for Python or any other languages, and I don't believe there's a plug-ins or ST packages that allow you to bypass this limitation. Sublime Text is a standalone Text Editor, and there's limitation on what it can do. But I read that there're some alternative solutions to that,, I haven't tried it out. For Windows user however, there's no Terminal, it has its own CMD, which is an entirely different thing. On a Mac or Linux, with little bit of setup, we can easily replicate Workspace's feature by using any Text editor and the system's built-in Terminal. ![]() Please keep in mind that the Workspace we used in TeamTreehouse here isn't just a Text Editor, it's a text editor + a Terminal.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |