Questions tagged [completion]

250 questions
2
votes
1 answer

How does this bash completion function work? (for cloudfoundry cli)

I try to understand this bash completion function ? (for cloudfoundry cli) I read https://debian-administration.org/article/317/An_introduction_to_bash_completion_part_2 and also the bash ref guide at…
mhoff
  • 601
  • 8
  • 13
2
votes
2 answers

Oh-My-Zsh completion not working

I reinstalled my computer running macOS Sierra and also reinstalled oh-my-zsh. I copied over my old zshrc, which was working fine (and is still working fine on another computer). However, every start of the zsh, the following output emerges, before…
tnull
  • 728
  • 5
  • 17
2
votes
1 answer

Swift - Firebase function signInWithEmail don't execute in the first call

@IBAction func loginEmailButton(sender: AnyObject) { FIRAuth.auth()?.signInWithEmail(email.text!, password: password.text!, completion: { (user, error) in if error != nil { if let errCode =…
Enzo
  • 73
  • 2
  • 9
2
votes
0 answers

Create index with completion suggest using Nest elasticsearch

I am using elasticsearc 2.3.3 and Nest 2.3.2, I need to create index. Need to map the properties with attributes added in the class file. public class IndexDocument { [Number(Store = true)] public long Id { get; set; } [String(Store =…
Ajoe
  • 1,397
  • 4
  • 19
  • 48
2
votes
1 answer

iOS - Animation was not stopped and completion method was not called as expected

I am facing difficulties to stop animations, and prevent the animation's completion function to be called and returned a TRUE variable. The following codes is a simplified version of my codes which the same issue exists. override init(style:…
Wilfred
  • 187
  • 3
  • 15
2
votes
1 answer

SpriteKit Swift 2 Actions: spawning enemy waves

I'm trying to spawn waves of enemies in a SpriteKit Game. I thought this code would work. how do I make runAllWaves() wait for each wave to complete before calling the next one? (I realize if all else fails i can just increase the waveWait time…
mdamkani
  • 305
  • 2
  • 12
2
votes
1 answer

iOS: Latest Parse SDK PFFacebookUtils blocks never gets executed

Using Parse SDK 1.9.1 and Facebook 4.8.0 I receive no callbacks and my completion blocks never get executed. I have all necessary things in my AppDelegate and everything went well until I upgraded my sdks. examples in my code: if (![PFUser…
RawKnee
  • 324
  • 3
  • 11
2
votes
1 answer

Adding a view in a completion block of UIView.animateWithDuration

I have a view which I want to move to the center of the main view of the ViewController. I want to do this by using UIView.animateWithDuration. In the completion block of the method I want to add a second view. Below the code from my ViewController…
Arne
  • 25
  • 6
2
votes
1 answer

Emacs Completion refuse to create a new file

When I try to create a new file in Emacs with C-x C-f, typing the file name, the Completion always automatically match the name. Unfortunately, once Emacs finds out there be no matched file, it will try to look for the file with the name I just…
yangdawei
  • 57
  • 6
2
votes
2 answers

Missing argument for parameter 'completionHandler' in call

I used the function geocodeAddressString which worked in swift 1.0, but not in swift2. Can anybody tell me what's wrong with my code and how i can fix this? Thank you! geocoder.geocodeAddressString(address, {(placemarks: [AnyObject], error: NSError)…
Jerry Xu
  • 295
  • 2
  • 19
2
votes
2 answers

bash completion random characters

I am having trouble with bash_completion. When I expand variables, I am fine, but when I use a commands completion (such as git or vim-addon-manager), then the completion throws random characters in there. This didn't use to happen to me, I can't…
dylnmc
  • 3,810
  • 4
  • 26
  • 42
2
votes
2 answers

Programming customized tab completion for zsh

Sorry if my google fu is too weak, but: I simply want to adjust zsh so that I can tab complete someappname -s using the contents (filenames) of ~/somedir For example: someapp -s f should cycle through completions based on the files starting…
Pistos
  • 23,070
  • 14
  • 64
  • 77
1
vote
0 answers

Python/VS Code: How to achieve IDE highlighting & auto-completion for namespaces dynamically created using `globals()`

In Python, I am dynamically creating a namespace by modifying globals(). For some background, I'm masking/filtering another file to get rid of some unwanted members and wrap foreign functions with a mutex. The masked file contains auto-generated…
mara004
  • 1,435
  • 11
  • 24
1
vote
0 answers

How to config Unreal Engine5 C++ code auto completion for neovim?

I want to write Unreal Engine C++ code in Neovim, but don't how to config lsp server to enable the auto completion and formating for UE C++. Anyone who can help me out of this? Thx a lot. I want to know the exact way to config lsp server for Unreal…
1
vote
2 answers

How to get all fish shell commands from a python script?

When I run complete -C from my regular terminal fish shell I get a list of ~4k commands, which is great. I want this to happen from my python script. I have the following but it doesn't work: command = "fish -c 'complete -C'" output = ( …
Ariel Frischer
  • 1,406
  • 2
  • 12
  • 20