Developer Tips

From Dreamwidth Notes
Revision as of 05:52, 4 August 2009 by Rahaeli (Talk | contribs)

Jump to: navigation, search

Showing Whitespace

Dreamwidth does not want tabs or trailing whitespace, as per the Dev Programming Guidelines. These two tips can help you check out your patch before submission for these flaws.

In vim, you can show whitespace with the command

:set list

You can also use cat -et.

Error Messages

In .bml files, if you get an error message with a line number, the line numbering starts from the beginning of the code block, not from the beginning of the file.