[pydev - Users] TIDY?

View: New views
7 Messages — Rating Filter:   Alert me  

[pydev - Users] TIDY?

by SourceForge.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=5105870
By: dwarnold

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

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=293649

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Pydev-users mailing list
Pydev-users@...
https://lists.sourceforge.net/lists/listinfo/pydev-users

[pydev - Users] RE: TIDY?

by SourceForge.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=5106087
By: fabioz

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

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=293649

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Pydev-users mailing list
Pydev-users@...
https://lists.sourceforge.net/lists/listinfo/pydev-users

[pydev - Users] RE: TIDY?

by SourceForge.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=5106938
By: dwarnold

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

D.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=293649

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Pydev-users mailing list
Pydev-users@...
https://lists.sourceforge.net/lists/listinfo/pydev-users

[pydev - Users] RE: TIDY?

by SourceForge.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=5107145
By: fabioz

Surely

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=293649

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Pydev-users mailing list
Pydev-users@...
https://lists.sourceforge.net/lists/listinfo/pydev-users

Re: [pydev - Users] RE: TIDY?

by Tim Diggins (Subs) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

this would be great.

any formatting should follow (or allow the option to follow) PEP008 http://www.python.org/dev/peps/pep-0008/

spaces around '=' on assignment only
no spaces around '=' for keyword params

i.e.
x = myfun(12, someparam=this)

Tim


On 19 Jul 2008, at 08:23, SourceForge.net wrote:

>
> Read and respond to this message at:
> https://sourceforge.net/forum/message.php?msg_id=5106938
> By: dwarnold
>
> So, it could be a feature to ask for a space before and after =, !=,  
> <, and
> friends?
>
> D.








-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Pydev-users mailing list
Pydev-users@...
https://lists.sourceforge.net/lists/listinfo/pydev-users

Re: [pydev - Users] RE: TIDY?

by Fabio Zadrozny-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sure... both just done for the next release ;-)

Cheers,

Fabio

On Sat, Jul 19, 2008 at 7:36 AM, Tim Diggins <subscribed@...> wrote:
this would be great.

any formatting should follow (or allow the option to follow) PEP008 http://www.python.org/dev/peps/pep-0008/

spaces around '=' on assignment only
no spaces around '=' for keyword params

i.e.
x = myfun(12, someparam=this)

Tim


On 19 Jul 2008, at 08:23, SourceForge.net wrote:

>
> Read and respond to this message at:
> https://sourceforge.net/forum/message.php?msg_id=5106938
> By: dwarnold
>
> So, it could be a feature to ask for a space before and after =, !=,
> <, and
> friends?
>
> D.








-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Pydev-users mailing list
Pydev-users@...
https://lists.sourceforge.net/lists/listinfo/pydev-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Pydev-users mailing list
Pydev-users@...
https://lists.sourceforge.net/lists/listinfo/pydev-users

Re: [pydev - Users] RE: TIDY?

by Tim Diggins (Subs) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

GREAT, I love it!

On 19 Jul 2008, at 23:55, Fabio Zadrozny wrote:

Sure... both just done for the next release ;-)

Cheers,

Fabio

On Sat, Jul 19, 2008 at 7:36 AM, Tim Diggins <subscribed@...> wrote:
this would be great.

any formatting should follow (or allow the option to follow) PEP008 http://www.python.org/dev/peps/pep-0008/

spaces around '=' on assignment only
no spaces around '=' for keyword params

i.e.
x = myfun(12, someparam=this)

Tim


On 19 Jul 2008, at 08:23, SourceForge.net wrote:

>
> Read and respond to this message at:
> https://sourceforge.net/forum/message.php?msg_id=5106938
> By: dwarnold
>
> So, it could be a feature to ask for a space before and after =, !=,
> <, and
> friends?
>
> D.








-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Pydev-users mailing list
Pydev-users@...
https://lists.sourceforge.net/lists/listinfo/pydev-users

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
Pydev-users mailing list
Pydev-users@...
https://lists.sourceforge.net/lists/listinfo/pydev-users




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Pydev-users mailing list
Pydev-users@...
https://lists.sourceforge.net/lists/listinfo/pydev-users
LightInTheBox - Buy quality products at wholesale price