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

请问调用Generate能否不干掉pubspec.yaml里面的注释代码 #8

Open
lhholylight opened this issue May 8, 2020 · 4 comments
Labels
duplicate This issue or pull request already exists enhancement New feature or request help wanted Extra attention is needed

Comments

@lhholylight
Copy link

No description provided.

@YK-Unit
Copy link
Contributor

YK-Unit commented May 8, 2020

目前,由于所用的YAML库的不支持注释解析功能,所以插件暂时还无法支持该特性。

@YK-Unit YK-Unit added duplicate This issue or pull request already exists enhancement New feature or request labels May 27, 2020
@YK-Unit YK-Unit added the help wanted Extra attention is needed label Jun 11, 2020
@LuckyJayce
Copy link

建议:可以在原先的文件下append 或者修改对应的flr
毕竟YAML配置这么重要文件每次整个内容被重新修改,很多人会因为这点而不用

@LuckyJayce
Copy link

或者单独一个flr.yaml文件

@YK-Unit
Copy link
Contributor

YK-Unit commented Nov 9, 2020

建议:可以在原先的文件下append 或者修改对应的flr
毕竟YAML配置这么重要文件每次整个内容被重新修改,很多人会因为这点而不用

  • 感谢建议。然而非常可惜的是,添加资源声明时,还是需要修改 pubspec.yaml,所以暂时无法避免你说的问题。
  • 目前最好的解决方案可能还是:实现一个支持解析注释的yaml库——但是这个需要时间去做,也期望得到外界的一个帮助。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants