4

How do I get the code completion in IntelliJ to act like Xcode/Eclipse?

This meaning, typing a method that takes parameters, and when you select the method from the auto-complete list:

intToString(int val);

In Eclipse, you'll get:

intToString( (val-placeholder) );

and similar in Xcode.

However, in IntelliJ, all you get is:

intToString();

How do you get placeholders for parameters in IntelliJ?

1

1 Answer 1

1

There is no such feature in IntelliJ IDEA. Similar functionality is already implemented in AppCode, so it's possible that it will be ported to IntelliJ IDEA in a future release.

Sign up to request clarification or add additional context in comments.

3 Comments

So how does one get multi-parameter auto complete (SmartComplete) in IDEA 12? blogs.jetbrains.com/idea/2009/09/super-method-completion
The multi-parameter auto-complete works only in specific contexts (such as super method calls and delegation), when we know that you're going to be forwarding a bunch of parameters from your current method to the method you're calling. This hasn't changed in IntelliJ IDEA 12 compared to previous versions.
Here is the related feature request: youtrack.jetbrains.com/issue/IDEABKL-5496.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.