When I press TAB in nano editor, the cursor will jump with 8 spaces like this: def square(x): return x * x def cube(y): return y * y *...
We always write code like this formal: void main(){ if(){ if() } But when I use Notepad++, the display is: void main(){ if(){ if() } How do I use...
In Python, I want to write a multi-line dict in my code. There are a couple of ways one could format it. Here are a few that I could...
I haven’t been able to figure this out yet. Atom seems to use spaces as the default indentation mode. I prefer to have tabs instead though. Sublime Text has...
I use tabs for indentation in my python programs, but I would like to collaborate (using git) with people who use spaces instead. Is there a way for git...
I have some JavaScript code that works in FireFox but not in Chrome or IE. In the Chrome JS Console I get the follow error: “Uncaught SyntaxError: Unexpected end...
Example: If I have a document with 2 space indentation, and I want it to have 4 space indentation, how do I automatically convert it by using the Sublime...
Could someone explain to me in simple terms the easiest way to change the indentation behavior of Vim based on the file type? For instance, if I open a...
I want to write a few lines of text. They should be formatted normally except each line should start at the 6th column. I.e. I don’t want the code...
Is there a way to force Sublime Text 2 to always indent two spaces per tab when working with Ruby files? I know that indentation can be set under...