YvesLeBorg
YvesLeBorg

Reputation: 9089

autocomplete gets in the way on method signature

errr ... dumb question but i could not find the appropriate settings for this.

When editing code, trying to add a new method in class , as shown below :

snapshot of edit session

Line 355 shows my intended input. When typing it (as shown on line 360), Appcode suggests a bunch of totally irrelevant choices. Can I configure to stop that? I would normally type text[space] and get the annoying textInputContextIdentifier instead of my intent.

Upvotes: -1

Views: 97

Answers (1)

Stanislav Dombrovsky
Stanislav Dombrovsky

Reputation: 752

It's a bug in completion, track this issue for information about the progress on it.

The possible workaround is do not spent your time on first defining the method signature - try using the method which does not exists in the same way as it's already created, have the red code, press Alt+Enter and select "Create method". Press Enter and have the method stub created in .m file. Create from usage After it, move cursor to the method signature, press Alt+Enter and have the declaration automatically created in .h file.

Upvotes: 1

Related Questions