swiftlang / vscode-swift

Visual Studio Code Extension for Swift
https://marketplace.visualstudio.com/items?itemName=sswg.swift-lang
Apache License 2.0
709 stars 47 forks source link

Add a CustomExecution for `swift` tasks #781

Closed award999 closed 1 month ago

award999 commented 2 months ago

To give us more control of the swift process and allow us to consume the output from swift, introduce our own CustomExecution. This will set us up to address #750, #653 and #694.

The CustomExecution will load the asar bundled node-pty module that ships with vscode. This way we don't need to build for every platform and arch

award999 commented 2 months ago

I have some follow up commits to put up to make work on Windows and iron out some small stuff, but I'd appreciate any early feedback 😃

award999 commented 2 months ago

I've added a couple of comments, plus can we have some function comment headers describing what everything is doing.

Added some more docstring comments