Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Disable code completion popup animation #6

Merged
merged 2 commits into from Aug 2, 2012

Conversation

Projects
None yet
2 participants
Contributor

jmfd commented Jul 28, 2012

My change will disable the window zoom and fade-in animations for the code completion popup window when manually triggered. It does so by overriding these two methods:

-[DVTTextCompletionListWindowController showWindowForTextFrame:(NSRect)textFrame explicitAnimation:(BOOL)usesExplicitAnimation]
-[DVTTextCompletionWindow setAlphaValue:(CGFloat)windowAlpha]

This makes the popup behavior like Xcode 3.2.

Contributor

jmfd commented Jul 29, 2012

I've also added a fixin for changing the tab behavior to accept an entire completion. This was earlier Xcode behavior and makes more sense if you're manually popping up the completion list and selecting an entry.

tom-seddon added a commit that referenced this pull request Aug 2, 2012

Merge pull request #6 from tumult/master
Disable code completion popup animation

@tom-seddon tom-seddon merged commit 05a38f2 into davekeck:master Aug 2, 2012

Collaborator

tom-seddon commented Aug 3, 2012

Thanks! I really like both of these :)

--Tom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment