Giter VIP home page Giter VIP logo

tools's People

Contributors

sean-parent avatar triplef avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

tools's Issues

Direction for Usage is not clear

First, I want to thank Sean Parent.
Help me use it.
So, I followed everything to install it, by making a folder 'xcode' in my home directory, and then it has 'tools' directory. I made a file called '.clang-format' which has this as its content:

UseTab: Never
IndentWidth: 4
BreakBeforeBraces: Allman
AllowShortIfStatementsOnASingleLine: false
IndentCaseLabels: false
ColumnLimit: 0

Then, since I didn't change the shortcut for cmd+c or cmd+v, I didn't edit any other file.
Then... do I have to select all contents of the file to format it? Is it automatically format the file whenever I save the file? Would you clarify how to use it? Do I have to restart xcode after setting it? It looks like nothing works...

Line duplicated when clang-format runs

assist_editor_bug

Hi, I'm running into the issue that when the behavior runs, I'm getting some weird insertions:

clang-format version 7.0.0
XCode version 9.2

(I've used my configs in Visual Studio Code for quite some time successfully.)

Unicode characters are messy

To reproduce this issue, you can try to reformat the following code snippet:

  if (![helper verify:faceInfo] || ![helper insideScreen:faceInfo]) {
    [self updateFaceInfoOnUIThread:faceInfo];
    [self updateTrackingLabelOnUIThread:@"检测不到人脸"];
    return nil;
  }

In my xcode(10.3 on Mojave 10.14.6), the chinese string "检测不到人脸", will turn into "妫ü娴�涓���颁汉���" after reformatted, namely a garbled string.

Could you please help?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.