mapbox / mapbox/XcodeClangFormat

The command "format selection" failed!!!!!!

Open
#50 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Objective-C++
Stars
807
Forks
102
PR merge metrics
No merged PRs in 30d

Description

The command "format selection" failed!!!!!!
In Xcode 11.5;
Objective-c .m source code: 1000+ lines;

![image](https://user-images.githubusercontent.com/14885293/90950286-ad253680-e482-11ea-8f0e-947dfdc08d93.png)
![image](https://user-images.githubusercontent.com/14885293/90950288-b2828100-e482-11ea-93c0-4ee389ad53fa.png)
![image](https://user-images.githubusercontent.com/14885293/90950292-b8786200-e482-11ea-89df-851b0a5b12ac.png)

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

Reproduce the failure in Xcode 11.5 with a 1000+ line Objective-C .m file and a selected code region, using the screenshots as the only provided reference. Start by identifying the formatter command entry point and capture the actual error; done means formatting the selection completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
objective-c
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.