The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
2answers
358 views

Is there an HTML auto-indentation feature or plugin for Sublime Text (aka prettify/beautify/format)?

For example, something to change: <section><article><h1></h1><p></p></article></section> to: <section> <article> ...
0
votes
2answers
55 views

How to change language specific plugins in vim?

I'm writing an SML program and I'm trying to change the size of indents. If I add the following to my .vimrc file set tabstop=8 set shiftwidth=8 set expandtab It is not reflected in my actual ...
0
votes
1answer
65 views

VIM inconsistent indentation

I have the following small Specman (.e) file: (set filetype=specman) <' extend sys { a : b; !enable : bool; run() is also { message (LOW, "Hello World"); }; }; '> ...
3
votes
2answers
72 views

vim: remove previous code indentation and convert to another

I have a c project with multiple files (more than 100), the codes are written in Whitesmiths style, but I want to change them into K&R style indentation. Is it possible to do using vim in an ...
-1
votes
1answer
163 views

How can I turn off auto-completion in word processing apps?

In both Word and Open Office, these word processors try to be clever and guess where you want to indent, or automatically complete a word you've started to type. In my experience, they are wrong a ...
6
votes
2answers
553 views

How can I indent the wrapped text in Notepad++?

How can I change Notepad++ setting so that wrapped lines gets indented automatically? Right now I have something like this: some text that wraps to next line some indented text that also wraps ...
1
vote
1answer
703 views

Notepad++ XML Auto Indent + Tag Closing

I'm migrating a question I posted on stackoverflow to here as it may be more relevant. Here is the question: I'm looking for a way to code XML (mxml, specifically) in Notepad++ such that it follows ...
9
votes
4answers
7k views

Autoindentation in Sublime 2 text editor

Is there an auto indentation option in Sublime 2? In Visual Studio I can press Ctrl+K+D to indent everything so the code is structured nicely. Is there a shortcut in Sublime 2 to do the same?
2
votes
1answer
130 views

Preserve indent space for wrapped line in Word

I like to print out my code sometimes, so I was wondering if there was a way to get Word (2007 for me) to automatically preserve the amount of tab space for the whole of a wrapped line. ...
1
vote
2answers
381 views

VIM - Auto-indent lines with over length

Is there an option in VIM to auto-intend (like in Espresso) lines which are too long to be displayed in the current window so that they get an automatic line break? This is how it looks like in ...
3
votes
2answers
274 views

Change <li> autoindent options in VIM

By default Vim seems to not want to indent the contents inside of <li> tags, though it autoindents properly for most other HTML tags. For example, if I start with this code: <ul> ...
0
votes
1answer
170 views

Microsoft Word Read-Only Document - Avoid Unwanted Tab Space

I have a read-only Microsoft Word (docx) document that has (in addition to explanatory read-only text) a few editable forms. In one of these forms, there are two columns. Each column has a ...
4
votes
1answer
282 views

AUCTeX and tabs

I've been tinkering for hours and I'm becoming desperate. I want tabs! I like tabs, I see no advantage in using spaces and therefore I ident with tabs (alignment is done with spaces though). But I ...
1
vote
2answers
367 views

Customize autoindent settings in VIMRC file

I have autoindent enabled in my .vimrc file but have run into an annoying bug/feature. For example, when I'm tabbed in 3 times, and I hit return, the new line is also tabbed in 3 times. Then when I ...
2
votes
3answers
454 views

How to configure backspace to delete 1 char with ts,sw,sts & et configured in vim

I have the following in my vimrc: set tabstop=8 set shiftwidth=4 set softtabstop=4 set expandtab set backspace=indent,eol,start set autoindent This does what I want: insert spaces only, never tab ...
1
vote
1answer
1k views

Version 5.7 of autoindent Python in Notepad++ half works

Autoindenting doesn't work on Notepad++ correctly. I can't find the equivalent SciTE file. menu Settings -> Preferences -> MISC -> Auto-indent is checked. I can't find any other Python indent settings ...
4
votes
2answers
629 views

How do I make vim's autoindent not drop trailing spaces?

In some text editors (e.g. Kate, gedit), when auto indent is enabled, pressing return twice will leave a trailing whitespace (which I want): if (code) { .... ....| } While others cater to the ...