Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

TIDY?

David
2008-07-18
2013-03-15
  • David
    David
    2008-07-18

    All,

    Is there something akin to TIDY for the PyDev plugin? Something that will reformat all the code? For example, cleaning

    x=12.3

    to

    x = 12.3

    D

     
    • Fabio Zadrozny
      Fabio Zadrozny
      2008-07-18

      There's a reformatter bundled in pydev, but it's very simple (only works for spaces after commas and handles spaces after parenthesis -- configure at window > preferences > pydev > code style > code formatter).

      You can activate it through Ctrl+Shift+F

      Cheers,

      Fabio

       
    • David
      David
      2008-07-19

      So, it could be a feature to ask for a space before and after =, !=, <, and friends?

      D.

       
      • Fabio Zadrozny
        Fabio Zadrozny
        2008-07-19

        Surely