Closed bsutton closed 3 years ago
Not sure what your thinking here but could perhaps hook into: onLanguage:dart
to "split" the pubspec out into an actual file.
https://code.visualstudio.com/api/references/activation-events
Then figure out how https://github.com/emeraldwalk/vscode-runonsave works (or just use it) to execute the "merge".
interesting idea. At this point I've nearly completed work on a dshell command to do the merge/split
dshell merge xxx.script dshell split xxx.script I've just been distracted with some windows issues :)
We no longer support virtual projects.
For vscode to work it needs access to a pubsec.yam.
If we implement dshell merge/split a user can use this to easily make the pubspec accessible to vscode.
Need to ensure that split outputs the 'full' pubspec including the injected dependencies.