swiftlang / swiftlang/swift-format

`FormatPlugin` and `LintPlugin` are not `BuildToolPlugin`.

Open
#511 11 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
3k
Forks
290
Avg merge
16h 31m
Merged PRs (30d)
12

Description

Most formatting and linting tasks happen at build time and Xcode has support for build time plugins if they conform to BuildToolPlugin. Therefore, maybe we should consider making FormatPlugin and LintPlugin BuildToolPlugin? This will make it easier to integrate swift-format for people who use Xcode.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the FormatPlugin and LintPlugin definitions and the requirements for Xcode BuildToolPlugin integration. Determine whether both plugins can adopt BuildToolPlugin while preserving their current behavior, and identify the tests or integration checks needed to confirm Swift-format works for Xcode users.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
build-system, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.