Skip to content

[Doc] regeneration of automatic comments in source files on disk #1141

Closed
@brickviking

Description

Recently, a suggestion was made to correct comment formatting for auto-generated comments referring to libraries. OS.COM.TKindModuleAnalyzer>>printClassCommentPreambleOn: was the place to make those changes, but all the other autogenerated comments still need correcting in the remainder of the .cls and pax files that have those comments. How do those comments get generated by the image and filed out?

This is an example of one of those badly formatted comments (missing space between DLL name and next sentence) in Core/Object Arts/Dolphin/Sockets/OS.IPHlpApiLibrary.cls:10:

... to represent the dynamic link library, ''iphlpapi.DLL''.It was generated from ...

I have an upcoming fix to add the missing space in the related method, but this doesn't address the comments in the on-disk files.

Do I simply generate a new image from Boot? That will merely fileIn all the files as they exist now, bad formatting and all.
Or, do I stick a new stanza somewhere in boot.st or even PreBoot.st, hoping that it will modify the comments on the fly? In that case, how will all the new *.cls/pax files get written out?

I hope I've explained myself adequately.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions