Skip to content
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

Incorrect formatting: enums in switch and minuses #17

Closed
vysotsky opened this issue Dec 30, 2015 · 3 comments
Closed

Incorrect formatting: enums in switch and minuses #17

vysotsky opened this issue Dec 30, 2015 · 3 comments
Labels

Comments

@vysotsky
Copy link

Hi! First of all I have to thank you for this plugin. It's awesome! I was really happy to know that there's this one. But there are two issues I have by using it:

  1. When I tried to format code with enums in switch statement, the plugin deleted all tabulation;
  2. If I'm using code like "let secondInt = -firstInt" plugin puts a space between "-" and the expression.
    Hope this helps to make this plugin better!

If you have any questions, please let me know and I'll try to help if I can.
Thanks!

@Jintin
Copy link
Owner

Jintin commented Dec 30, 2015

Hi, are you using the latest version?
It's seems fixed in previous commits.

You can try to reinstall and reopen XCode, if there is other question please feel free to let me know.
Thank you very much.

@Jintin Jintin added the bug label Dec 30, 2015
@Jintin Jintin closed this as completed Jan 1, 2016
@vysotsky
Copy link
Author

vysotsky commented Jan 4, 2016

Hi! Sorry that I wasn't responding all this time!
Cool! You've fixed the issues above but I have another issue.
For example, if I need to format code like the following:
if -firstValue > secondValue {
}
The code will be broken. It'll be cool if you fix it.
And thanks for your quick response and bug fixes! I think this plugin will be great! 👍

@Jintin
Copy link
Owner

Jintin commented Jan 5, 2016

Please try 1.6.2.
Thank you for your kind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants