jpsim / jpsim/SourceKitten

Muting SourceKit warnings on Linux

Open
#689 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
2.4k
Forks
237
PR merge metrics
No merged PRs in 30d

Description

(Sorry if this isn't the best place for this!)

I'm using SourceKittenFramework to do an indexing request on a Swift file. When that file has warnings, the SourceKit request prints those warnings to the console, and my program's output gets confusing. This happens on Ubuntu, but not on macOS.

Is there a way to use SourceKitten to mute those warnings? Is it something that has to be fixed on SourceKit itself?

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 reproducing an indexing request through SourceKittenFramework for a Swift file with warnings on Ubuntu and compare its console output with macOS. Trace whether the warning output is controlled by SourceKitten or SourceKit; done means identifying the responsible component and establishing a documented or tested way to suppress the warnings, if this project owns the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.