Refactorings drop comments

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Refactorings drop comments

cdavidshaffer
This is in RefactoringEngine-dc.39 but has been the case for as long as
I can remember.  Many of the method refactorings (rename, for example)
drop all of the method comments in all affected methods.  This is making
it a challenge to document my code :-(  Does anyone have ideas for a fix?

David


Reply | Threaded
Open this post in threaded view
|

Re: Refactorings drop comments

MrGwen
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

C. David Shaffer a écrit :
> This is in RefactoringEngine-dc.39 but has been the case for as long as
> I can remember.  Many of the method refactorings (rename, for example)
> drop all of the method comments in all affected methods.  This is making
> it a challenge to document my code :-(  Does anyone have ideas for a fix?
>
> David
>
>

Hi,

this is a problem with the RBFormater, I'm working on a formatter which
preserve formatting. At this time the new formatter preserve the
formatting but it does not work with all of the refactorings :s

Gwenael Casaccio
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHTz4N9DtvOcfne2ERAnzyAJ9jczfTQLyga7zUQxDXo9k2wsV4CgCeP0zi
LWWFCB+praDBmQqg4sv8TVk=
=ISa5
-----END PGP SIGNATURE-----

Reply | Threaded
Open this post in threaded view
|

Re: Refactorings drop comments

Damien Cassou-3
Please continue working on that and keep us informed. I would really
to include that into future squeak-dev images.

Thank you very much

2007/11/29, Casaccio Gwenael <[hidden email]>:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> C. David Shaffer a écrit :
> > This is in RefactoringEngine-dc.39 but has been the case for as long as
> > I can remember.  Many of the method refactorings (rename, for example)
> > drop all of the method comments in all affected methods.  This is making
> > it a challenge to document my code :-(  Does anyone have ideas for a fix?
> >
> > David
> >
> >
>
> Hi,
>
> this is a problem with the RBFormater, I'm working on a formatter which
> preserve formatting. At this time the new formatter preserve the
> formatting but it does not work with all of the refactorings :s
>
> Gwenael Casaccio
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFHTz4N9DtvOcfne2ERAnzyAJ9jczfTQLyga7zUQxDXo9k2wsV4CgCeP0zi
> LWWFCB+praDBmQqg4sv8TVk=
> =ISa5
> -----END PGP SIGNATURE-----
>
>

--
Damien Cassou


Reply | Threaded
Open this post in threaded view
|

Re: Refactorings drop comments

cdavidshaffer
In reply to this post by MrGwen
Casaccio Gwenael wrote:
> Hi,
> this is a problem with the RBFormater, I'm working on a formatter which
> preserve formatting. At this time the new formatter preserve the
> formatting but it does not work with all of the refactorings :s
>
> Gwenael Casaccio
>  
That's great news.  I second Damien's sentiment...when you're ready for
some alpha testers let me know ;-)

David


Reply | Threaded
Open this post in threaded view
|

Re: Refactorings drop comments

stephane ducasse
Gwenael fixed some bugs in RB and defined move to class, split  
package/merge package already.
I told him to communicate more about his progress.
He is working on a PreservingFormatPrettyPrinter :)

Stef

On 30 nov. 07, at 14:37, C. David Shaffer wrote:

> Casaccio Gwenael wrote:
>> Hi,
>> this is a problem with the RBFormater, I'm working on a formatter  
>> which
>> preserve formatting. At this time the new formatter preserve the
>> formatting but it does not work with all of the refactorings :s
>>
>> Gwenael Casaccio
>>
> That's great news.  I second Damien's sentiment...when you're ready  
> for some alpha testers let me know ;-)
>
> David
>
>
>