Skip to content

Conversation

@DougGregor
Copy link
Member

Add code actions for introducing new library, executable, or macro targets to a package manifest. I'm a little unhappy with these because we have to pick a name for the target (we choose "NewTarget") and it's a little annoying to change it after the fact. On the other hand, this at least puts the right structural pieces in place.

@DougGregor
Copy link
Member Author

Only the second commit is new...

@DougGregor
Copy link
Member Author

@DougGregor
Copy link
Member Author

swiftlang/swift-package-manager#7481

@swift-ci please test Windows

@DougGregor
Copy link
Member Author

swiftlang/swift-package-manager#7481

@swift-ci clean test Windows

1 similar comment
@DougGregor
Copy link
Member Author

swiftlang/swift-package-manager#7481

@swift-ci clean test Windows

@DougGregor
Copy link
Member Author

swiftlang/swift#73507

@swift-ci please test

}

/// Produce code actions to add new targets of various kinds.
static func addTargetActions(
Copy link
Member

Choose a reason for hiding this comment

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

Could be private, right?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, sure

@DougGregor DougGregor merged commit c2af2f5 into swiftlang:main May 17, 2024
@DougGregor DougGregor deleted the code-action-add-target branch May 17, 2024 22:24
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