Skip to content

Conversation

@plemarquand
Copy link
Contributor

Convert the dependencies panel in to the new project panel. This rolls the dependencies up in to its own top level item in the tree, and places it along side Targets, Tasks, Commands and Snippets.

Tasks, Commands and Snippets can be run directly from the panel, and update their icon to show their running status.

Clicking a test target will run all the tests in the target.

@plemarquand plemarquand force-pushed the project-panel branch 6 times, most recently from cd0502a to 191e52f Compare February 14, 2025 20:28
@plemarquand plemarquand force-pushed the project-panel branch 6 times, most recently from b803a60 to 0a8e846 Compare February 20, 2025 21:04
Convert the dependencies panel in to the new project panel. This rolls
the dependencies up in to its own top level item in the tree, and places
it along side Targets, Tasks, Commands and Snippets.

Tasks, Commands and Snippets can be run directly from the panel, and
update their icon to show their running status.

Clicking a test target will run all the tests in the target.
@plemarquand plemarquand marked this pull request as ready for review February 21, 2025 20:24
vscode.commands.registerCommand(Commands.RUN, () => runBuild(ctx)),
vscode.commands.registerCommand(Commands.DEBUG, () => debugBuild(ctx)),
vscode.commands.registerCommand(Commands.RUN, target =>
runBuild(ctx, ...unwrapTreeItem(target))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was going to mention that SourceKit-LSP will include the target name as a string for the swift.run and swift.debug commands starting in 6.2, but it looks like that case is already covered by unwrapTreeItem(). Nice.

@plemarquand plemarquand merged commit 5753b6b into swiftlang:main Feb 27, 2025
16 checks passed
@plemarquand plemarquand deleted the project-panel branch February 27, 2025 20:24
plemarquand added a commit that referenced this pull request Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants