indentation
Vim indenting and alignment: combining spaces and tabs
I\'m trying to work out how to get Vim to follow a slightly more complex indentation scheme than most editors allow by default. Essentially I want to use tabs for indentation, but spaces to align stat[详细]
2023-03-16 07:49 分类:问答PHP to HTML - preserving indentation
Having read lines from a js file using php is it possible to preserve indentation when regurgitating it as html - see glasier.hk - code 开发者_JAVA技巧tab? Thanksreplace spaces \' \' to or[详细]
2023-03-16 07:38 分类:问答Making a region-indent-function keep the region marked
I\'m having trouble with haml-mode\'s region-indent-function, which I\'m trying to reuse in another major mode. We\'re supposed to be able to cycle the region indentation by keeping开发者_如何学运维 t[详细]
2023-03-16 03:21 分类:问答HTML indenter written in Python
I am looking for a free (as in freedom) HTML indenter (or re-indenter) written in Python (module or command line). I don\'t need to filter HTML with a white list. I just want to indent (or re-indent)[详细]
2023-03-15 21:56 分类:问答Avoiding label indenting in C++
I guess this was asked before, but I could not find any similar question. When writing part of the scope operator in C++, Vim guesses that it\'s going to be a label (on the first :) and then indents[详细]
2023-03-15 18:03 分类:问答How To Remove Indents From Code?
Lets consider this example of code... Don\'t look at code, but at indents. protected function _hashPassword( $password, $salt, $nuts = \'\' ) {[详细]
2023-03-15 02:50 分类:问答Making Emacs tabs behave exactly like vim's
I\'m learning currently Emacs and I\'m trying to set up my initialization file. Currently it looks like this (found it somewhere in the web):[详细]
2023-03-15 01:22 分类:问答Change table end-indent in Apache FOP
I am using Apache FOP 1.0 to generate PDF. I want to extend the end-indent of the table such that I do not get the INFO warnings:[详细]
2023-03-14 16:59 分类:问答What is the proper way to format a multi-line dict in Python?
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 think of:[详细]
2023-03-13 13:45 分类:问答How to indent inward a block of text by a TAB or 4 spaces, in Emacs, in markdown-mode?
How to indent inward a block of text by a TAB 开发者_StackOverflow中文版or 4 spaces, in Emacs, in markdown-mode?[详细]
2023-03-12 23:17 分类:问答