vscode-swift icon indicating copy to clipboard operation
vscode-swift copied to clipboard

SwiftPM plugin support

Open stevapple opened this issue 3 years ago • 2 comments

SwiftPM 5.6+ supports custom plugins, and would be useful for specific tasks (like building documents).

stevapple avatar May 02 '22 09:05 stevapple

Yeah I had a quick look at this in relation to the docc plugin. Haven't really worked out how we would deal with the arguments you would pass to plugin.

adam-fowler avatar May 04 '22 07:05 adam-fowler

#335 Adds tasks for each swift plugin in a package. You can find them prefixed with swift-plugin. Copies of these can be created in tasks.json and arguments added, also there is a disable-sandbox boolean. This is a start. I'm think of adding a command to display a task list which filters to just swift-plugin tasks.

adam-fowler avatar Jun 23 '22 11:06 adam-fowler

#457 Adds a command to run a command plugin. This brings up a menu of all the command plugins, plus edited ones and you can either select to run a command or edit its configuration.

With this and #335 I think I can close this Issue

adam-fowler avatar Jan 06 '23 08:01 adam-fowler