source_gen icon indicating copy to clipboard operation
source_gen copied to clipboard

Keep generated file comments on the first line

Open natebosch opened this issue 5 months ago • 3 comments

Let linquist continue to find the generated file marker on the first line, the dart format width comment is allowed to be on any line.

Look for the generated file line exactly and when it starts the file insert the dart format comment following it.

natebosch avatar Jun 17 '25 21:06 natebosch

Package publishing

Package Version Status Publish tag (post-merge)
package:source_gen 2.0.1-WIP ready to publish source_gen-v2.0.1-WIP

Documentation at https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

github-actions[bot] avatar Jun 17 '25 21:06 github-actions[bot]

This could generally work, but I've seen many users who do not put the generated content line as the first line in their custom header :D

marvin-kolja avatar Jun 18 '25 07:06 marvin-kolja

We're now in merge conflict land 😕

kevmoo avatar Jun 24 '25 18:06 kevmoo