Closed GoogleCodeExporter closed 9 years ago
Also you should never use TABS but rather 4 spaces for open source projects
because TABS are interpreted differently on mac linux and windows. This
behaviour can be changed in VS ...
tools->options->text-editor->c#->tabs->insert spaces.
Additionally you should remove trailing whitespaces where possible with this
regex: [ \t]+$
Original comment by stfxm...@gmail.com
on 28 Mar 2012 at 10:18
Patch applied, now to apply spaces and remove trailing whitespaces.
Original comment by daniele....@gmail.com
on 29 Mar 2012 at 12:12
Uhm, couldn't find any triling whitespaces with that regex. Nor have I a way to
change all TABS into spaces for an existing project (with MonoDevelop at least).
Original comment by daniele....@gmail.com
on 29 Mar 2012 at 12:27
use notepad++ to replace /t (need to enable extended search mode) with 4 spaces
for all *.cs files in your project path (CTRL+SHIFT+F). then switch to regular
expression mode and replace [ \t]+$ with an empty string ;)
Original comment by stfxm...@gmail.com
on 29 Mar 2012 at 10:53
Added in r149 + r151
Original comment by stfxm...@gmail.com
on 31 Mar 2012 at 12:48
Original issue reported on code.google.com by
stfxm...@gmail.com
on 28 Mar 2012 at 10:14Attachments: