#918 Code Formatter strip spaces always

1.4.5
closed-works-for-me
Editor (491)
5
2009-05-17
2009-05-13
Farin
No

if code formatter is active it strip spaces always. Preferences option does not affect this behavour

eg code :
raise ValidationError(_('Valid days must be filled for %s') % typename)
is changed to
raise ValidationError(_('Valid days must be filled for %s')%typename)

but only option to formate before save and rtrim are checked

Discussion

  • Farin

    Farin - 2009-05-13

    And also change to this bug. First I don't completely understand configuration.
    It is rather feature request.
    What i would like, is use only some formating. feautures
    Eg only trim whitespaces after lines and leave other untouched.
    Now I must select to leave spaces after commas or remove then it.

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2009-05-17
    • status: open --> closed-works-for-me
     
  • Fabio Zadrozny

    Fabio Zadrozny - 2009-05-17

    Actually, the '%' operator follows the settings of the 'use spaces before and after operators' (so, if you leave that option enabled, it should add a space at that case).

    Marking as works for me (please reopen if that's not what you wanted)

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks