zonessasa.blogg.se

Sublime text tabs to spaces
Sublime text tabs to spaces













  1. SUBLIME TEXT TABS TO SPACES SOFTWARE
  2. SUBLIME TEXT TABS TO SPACES CODE

The best thing is sublime is built for speed so even switching projects is super fast. So in just a couple of presses of the keyboard and you can switch between projects and you haven't lost your spot.

sublime text tabs to spaces

But sublime remembers which files it had to close and next time you open your project it will display all these files again. When you select a new project all your currently opened files will be closed and replaced with the new project. Just press ctrl + alt + p and a switch project window will be displayed, from here you can select any other project you have created in sublime. If you need to switch quickly between projects during the day then sublime is the editor for you. The best part of project management in sublime is the switching of projects. This is perfect if your used to working on different projects at the same time. Project management in sublime is also very easy, you can add folders to new projects and sublime will generate a project file automatically to help manage the project. Like I said it doesn't seem like a great feature but when you use it and see how much time it saves you will wonder how you ever worked without it. This makes it so easy to add multiple variable or functions all at the same time. To use multi cursor all you have to do is use the keyboard shortcut ctrl + d, when your cursor is on a word pressing ctrl + d will highlight the word, pressing ctrl + d again will look for the next occurrence of this word and create another cursor on this word. Instead of using a find and replace feature you can quickly use multi cursor to search for this variable and change all of them at the same time. Multi cursor allows you to make multiple changes at the same time, for example if you have wrote a couple of lines with a variable but want to change the variable name. This is probably my favourite feature of sublime text 2 and once you use it and see the advantages of it in development you will wonder how you ever lived without it. Name_of_class:1000 // Go to line 1000 in the name_of_class file.

SUBLIME TEXT TABS TO SPACES CODE

If you are picking up someone else code and you see this include in the // Go to the init function in the name_of_class file. This makes it so quick to find the file you are looking for, you don't need to know the folder structure of application just the name of the file. As you type into this textbox Sublime will search for all files for the file name you type in. You can access the Go To Anything panel by using the keyboard shortcode Ctrl + p, this will open a textbox at the top of the screen. It uses fuzzy searching which makes it extremely easy to find anything in your web application. Sublime has a feature called go to anything, this is just a panel which allows you to search for files, methods, variables and go to certain lines. We all know about IDE's and how they make it easy for development, well sublime can do everything they can do, so what makes it different? Go To Anything Panel I'm just using Sublime for web development so I'm going be talking about how easy it is to use for PHP development.

SUBLIME TEXT TABS TO SPACES SOFTWARE

Sublime Text 2 can be used for multiple languages from web development to software development. Along with this speed sublime text s of additional open source plugins, with a massive community of developers contributing to new plugins. Everything about it was built for speed, which makes sublime one of the quickest and easiest text editors to use.

sublime text tabs to spaces

Sublime Text 2 in it's simplest form is a lightweight text editor. If you join the lines and then press enter sublime will fix the tab width to match that of your current line.I've recently just changed my IDE for web development from Eclipse to Sublime Text 2 and thought I'll write a post about why I made the switch and what I like so much about Sublime Text 2. You can use VIM mode in sublime to record a macro to fix individual spacing problems. It’s not perfect since spacing in between lines of text might have more tabs or spaces. View -> indentation -> Convert indentation to Spaces.View -> indentation -> Convert indentation to Tabs.Steps to convert a file back to two spaces in sublime text With some google fu I was able to find a great answer to convert spaces to tabs using sublime text 2. Converting the spacing of all those files would be a huge pain. To have inconsistent spacing with old files. Recently while working on a project I accidentally modified my IDE’s spacing settings causing all new files















Sublime text tabs to spaces