realm / realm/SwiftLint

Xcode integration / on save / shortcuts

Open
#4,437 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Swift
Stars
19.7k
Forks
2.3k
Avg merge
1d 1h
Merged PRs (30d)
11

Description

Xcode integration

There should be an official app, we can use to autocorrect single files inside xCode via shortcuts:
https://github.com/realm/SwiftLint/issues/538#issuecomment-206095152

Currently, I use this app: https://github.com/sugarmo/XCFormat

With this app installed, i can configure shortcuts in xCode itself to trigger the formatter, e.g. on save or any other defined shortcut.
Would be great if we can also have something like.

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 reading the linked SwiftLint issue comment and reviewing the XCFormat workflow described in the issue. Define what an official Xcode integration must support, including formatting a single file through Xcode shortcuts and triggering it on save; completion requires those workflows to be available.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
developer-experience, mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.