Difference between revisions of "Developer Tips"

From Dreamwidth Notes
Jump to: navigation, search
(Created page with '== 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 befor...')
 
m
Line 7: Line 7:
 
  :set list
 
  :set list
  
You can also use <tt>cat -v</tt>.
+
You can also use <tt>cat -et</tt>.
  
 
[[Category: Development]]
 
[[Category: Development]]

Revision as of 21:27, 18 May 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.