Remove all HTML tags from code comments #6876
Labels
documentation
This is a problem with documentation.
feature-request
New feature or enhancement. May require GitHub community feedback.
investigating
Issue is being investigated and/or work is in progress to resolve the issue.
p3
This is a minor priority issue
Describe the feature
Hi -
It appears for some service clients there are HTML tags being included in the code comments - they make the hover docs very hard to read in editors (e.g. neovim).
Other SDK clients, like aws-sdk-go-v2 does not seem to have these tags - please consider removing them from the SDK client for better developer experience.
Thanks!
Example of this happening in the ECS Client code: https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-ecs/src/models/models_0.ts#L11815
Example go-sdk-v2 code for the same model: https://github.com/aws/aws-sdk-go-v2/blob/main/service/ecs/api_op_RegisterTaskDefinition.go#L51
Example of how this looks in the edtior:
Use Case
I'm always frustrated when the hover docs in my editor shows a bunch of HTML tags, they don't make the documents easy to read, sometimes they make a huge mess with long anchor tags and wrapped formatting, for example: https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-ecs/src/models/models_0.ts#L11861-L11865
Proposed Solution
Compare to how SDK for Golang v2 generates these docs, and properly strip all HTML tags while preserving the formatting in the generated SDK code.
Other Information
n/a
Acknowledgements
SDK version used
3.744.0
Environment details (OS name and version, etc.)
macOS 15.3, Amazon Linux 2
The text was updated successfully, but these errors were encountered: