-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
中文字符串显示不正确 #119
Comments
Just verified the behavior. However, this is a problem of the clang-format command, not a problem with the XCode-Clang-Format plugin. Please file a bug with clang-format. Find info here http://clang.llvm.org/OpenProjects.html As a work around, you can just manually separate the string as below, the plugin won't mess up the formatting in that case. Please
刚刚确证了你描述的行为。只不过这是一个clang-format命令的问题,不是这个插件的问题。插件只是通过调用clang-format命令来实现格式化。请报bug给clang-format。详情请见: 作为一个临时解决方案,你可以手动将字符串分段如下。
请关闭这个问题。 |
是需要调整那个参数,能说一下吗? |
BasedOnStyle: LLVM |
不是调参数。是手动格式化成这样:
这样你下次自动格式化文件时候你的格式就不会被错误格式化了。 |
这是一整个字符串,却格式化成多个.
The text was updated successfully, but these errors were encountered: