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

Be less controlling of pubspec.yaml #3

Open
d-silveira opened this issue Apr 19, 2020 · 1 comment
Open

Be less controlling of pubspec.yaml #3

d-silveira opened this issue Apr 19, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@d-silveira
Copy link

Hi,

love using your plugin, it does exactly what I wanted.
My only complaint so far is that every time it generates, it totally messes up my pubspec.yaml in unnecessary ways:

  1. deletes all my comments;
  2. deletes all my empty line;
  3. assets are kept at the wrong indent, should be 2 spaces further to the right;
  4. it writes every resource to pubspec.yaml, when it should be enough to write the folders;

Thanks alot,
regards,

@YK-Unit
Copy link
Contributor

YK-Unit commented Apr 20, 2020

Unfortunately, up to now there is no a YAML parser library that supports comments, so the features that you want is currently unavailable now. If you have any good solution, you can share it with us.

@YK-Unit YK-Unit added the enhancement New feature or request label May 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants