Closed devoncarew closed 6 years ago
This has now been implemented. We should open separate issues if there are additional things we'd like to have validated.
Is pubspec validation still only on-save? I'm not currently sending overlays during editing of pubspec (I do for analysis_options for some reason though); should I add it in case it's added in future (I guess same goes for if it ever gets completion)?
Is pubspec validation still only on-save?
Yes.
... should I add it in case it's added in future ...
I'm not sure what the priority of this feature is, and it would be a shame for you to spend time implementing a feature that never gets plumbed through. So I'd say no for now.
It's only adding the filename to an array to support :) That said, since I can't test it and the HTML version returned unwanted errors in latest stable maybe it is best to leave until (or if) implemented.
Companion issue here: https://github.com/flutter/flutter-intellij/issues/1259
Specifically, flutter users would get a lot of benefit from validations of the flutter assets section of the pubspec file.