English 中文(简体)
IntelliJ IDEA hint parameters of method
原标题:

I m just swapping from eclipse to IntelliJ, and I can t find this particular feature.

In Eclipse, when the cursor is inside the brackets of a method-call and I press Ctrl+Space, it tells me which parameters this method takes. Is there something similiar in IDEA?

问题回答

Use Ctrl+P (Cmd+P for Mac), it should show something similar. You may also find the reference card (PDF) handy.

Except CTRL+P (or CMD+P for Mac)

There is new feature in IntelliJ IDEA EAP:

Parameter name hints

Settings > Editor > General > Appearance

preview: enter image description here

Video from JetBrains about this feature: https://youtu.be/ZfYOddEmaRw

Related question - IntelliJ shows method parameter hints on usage - How to disable it

I m using:

IntelliJ IDEA 2016.3 EAP
Build #IU-163.5219.11, built on September 27, 2016

Yes - just press CTRL-P.

Display the parameter-helper automatically, by adjusting the "Autopopup"-timer in IntelliJ / PhpStorm settings.

Navigate to:

File -> Settings -> Editor -> General -> Code Completion -> Autopopup in (ms)

Set it to whatever you like. Etc. 5 ms.

Autopopup parameter info in IntelliJ

Ctrl+P if the keybinding is set to "default".





相关问题
IntelliJ IDEA hint parameters of method

I m just swapping from eclipse to IntelliJ, and I can t find this particular feature. In Eclipse, when the cursor is inside the brackets of a method-call and I press Ctrl+Space, it tells me which ...

will installing several IDEs cause problems

I m trying to evaluate a number of IDEs like Eclipse, intelliJ, Aptana, etc. to see which one suits my needs. My question is should I expect any problems from installing several IDEs on the same ...

Restoring the IntelliJ IDEA "Project tab"

By default the IntelliJ IDEA interface contains the following tabs/panels: Project (tabbed to the left) Structure (tabbed to the left) Commander (tabbed to the right) Ant Build (tabbed to the right) ...

Grails 1.1 and how to info level logging

Which setting do I now use to produce logging output with log.info statements within my own controllers? Here s what I ve setup in config.groovy and I thought placing my domain under the info level ...

How to move IntelliJ file tabs?

In IntelliJ, when you open a bunch of source files, is there a way to rearrange the order of the file tabs? In Eclipse you can drag and drop but I don t see a way to do this in IntelliJ.

How to clear the IntelliJ project index?

I ve run into trouble that makes me suspect there is a bad index file that needs to be cleared. The symptoms are: Cmd+N will only find a subset of classes in the project Trying to run JUnit test on a ...

Limiting IntelliJ IDEA import suggestions on completion

When I type the name of a class which will need to be imported, IntelliJ lovingly pops up with a list of suggestions. However, most of the time those suggestions are things I d never want to import, ...

热门标签