You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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...
The text was updated successfully, but these errors were encountered:
Oh, the in order to use it, I have to select the text, then choose from menu, Xcode > behaviors > xcode-format, right? well then my code looks really bad. Could you share your '.clang-format' file that works good with swift?
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:
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...
The text was updated successfully, but these errors were encountered: