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

add kill timeout after 10 seconds #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

delackner
Copy link

No description provided.

@delackner
Copy link
Author

Sadly, sometimes clang-format can't handle certain objective-c files and never exits. This helps deal with that. I have some pretty long files, and nothing ever takes more than 2-3 seconds to format on my weak 2011 macbook air, so I set a conservative timeout much longer than that.

@delackner
Copy link
Author

BTW I found that the current build of clang-format (HEAD, so sure not so stable) does this with fewer files than the binary you have bundled. Ever a moving target, not sure what to do about that one, but for now I just copy my own clang-format into the plugin bundle.

@tonyarnold
Copy link
Collaborator

I think @travisjeffery currently bundles a customised version of clang-format that includes my patches to support sane method formatting. I uploaded a new build of customised HEAD earlier in the week, so maybe that can be pulled in?

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

Successfully merging this pull request may close these issues.

2 participants