Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comment line wrapping #416

Closed
MrAlias opened this issue Oct 18, 2024 · 2 comments
Closed

Comment line wrapping #416

MrAlias opened this issue Oct 18, 2024 · 2 comments

Comments

@MrAlias
Copy link

MrAlias commented Oct 18, 2024

The current Go tooling uses the wordwrap jinja macro to ensure long comment lines are wrapped:

https://github.com/open-telemetry/opentelemetry-go/blob/81b2a33e1bbc57ef8f401e5ee7aaa9bc6b7ac772/semconv/template.j2#L138

How can this same wrapping be achieved with weaver?

From testing it seems the wordwrap macro does not exists.

@lquerel
Copy link
Contributor

lquerel commented Oct 18, 2024

Not yet supported. Duplicate of #364

@MrAlias
Copy link
Author

MrAlias commented Oct 18, 2024

Closing as duplicate.

@MrAlias MrAlias closed this as completed Oct 18, 2024
@MrAlias MrAlias closed this as not planned Won't fix, can't repro, duplicate, stale Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants