Difference between revisions of "Developer Tips"
From Dreamwidth Notes
Foxfirefey (Talk | contribs) m |
(line numbering) |
||
Line 8: | Line 8: | ||
You can also use <tt>cat -et</tt>. | You can also use <tt>cat -et</tt>. | ||
+ | |||
+ | == 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. | ||
[[Category: Development]] | [[Category: Development]] |
Revision as of 05:52, 4 August 2009
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.