onepub-dev / dcli

An extensive library and tooling for building console/cli applications and scripts using the Dart programming language.
242 stars 28 forks source link

implement dshell merge to aid with running vscode #46

Closed bsutton closed 3 years ago

bsutton commented 4 years ago

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.

brad-jones commented 4 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".

bsutton commented 4 years ago

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 :)

bsutton commented 3 years ago

We no longer support virtual projects.