Is there a way to tell Intellij IDEA 14 to always show the parameter tooltip that appears when you start writing a function? The problem is that the "bubble" disappears when you exit the parentheses and doesn't show up again when you re-enter.
As far as I know there is no configuration option to always display the parameter tooltip. However you can invoke it manually when you reenter the method using CTRL+P (or ⌘+P on Mac).
References
IntelliJ Help: Viewing Method Parameter Information
I think JetBrains should change this default behavior, or at least add an option for it.
For now, here are some workarounds:
Use CTRLP or make a custom key binding such as CTRL;.
Settings / Keymaps / Parameter Info / Add Mouse Shortcut.
Delete and then retype the opening parenthesis.
Related
What is it telling me and how do I turn this off?
How do I turn this off?
Also I turned this on:
but I still have to click my mouse and hold it to see type info. Anyone know what might be overriding this?
I'm following this:
https://www.jetbrains.com/help/idea/edit-scala-code.html#d211606e205
But what is N/A for mac?
You are inside a block which is passed to a function as an argument for by-name parameter. You may turn off this popup completely or only for arguments in curly braces (block expressions):
Type info popup is probably also missing because of it.
In IntelliJ 12, how do I make the popup stop...popping up when I hold Ctrl while hovering over a field/method with the mouse? (see picture)
That is the "Brief Info" action (or at least that is what it is called in the Keymap reference.) To the best of my knowledge (i.e. 10+ years of daily IDEA use including all beta/EAP builds), there is no way to turn it off. Searching the settings for either "Brief Info" or "Info" does not show any pertinent setting. Likewise, searching key mappings for the same does not reveal a mapping. In fact in the keymap settings, you can only map mouse clicks, not mouse pointing (i.e. hovering). You can submit a feature request asking for a setting to disable this feature.
Just put of curiosity, why do you want to disable it? I guess I would never see a case where one would Ctrl+MousePoint unless they wanted to see this. The only case I can think of would be if you disliked it popping up when you go to Ctrl+Click on a symbol. If it is the latter, note that you can use Ctrl+B in place of Ctrl+MousePoint
Try turning off the "autopop" options under /Settings/IDE Settings/Editor/Code Completion.
I'm Using resharper 6 nighty builds and VB.net. I've a big medium project with multiple files that don't follow the code style conventions of my company.
I've configured resharper with my own convenctions and It suggest to me the right name for each variable (perfect!).
But I can't find any automagic way to make the current name to be replaced with the suggested name.
Are there any way to do it? If not ... did you know ane fearure of coderush Xpress to achieve it?
Thanks.
If you've configured ReSharper with your naming conventions, then it should show a warning (blue squiggly underline) under any identifiers that don't comply. If you put the text cursor on one of those misnamed identifiers, you should see a pyramid icon appear near the left margin. Then you can press Alt+Enter (or click the pyramid icon) to drop down a quick-fix menu. There should be an option in the menu to "Rename to '_myField'". Usually it's the first item in the list, so you can just press Enter again to do the rename.
If you want to do this on everything in a source file, you can use the ReSharper > Inspect > Next Issue in File command (or its keyboard shortcut -- F12 in the IDEA keymap) to move the cursor to the next warning in the file. Then, if it's another name warning, you can use Alt+Enter, Enter again to fix it.
Unfortunately, there isn't a way to automatically fix every instance of a warning at once (though it's been requested; please feel free to vote for RSRP-126551 in their issue tracker).
So I try to get a Visual-Studio-With-Resharper-esque keyboard shortcut scheme in IntelliJ, which involves assigning Ctrl+R, Ctrl+R to "Refactor > Rename". I'm not allowed. Reason: Ctrl+R is "Assigned to [Console.TableResult.Reload] which is still not loaded".
How can I remove the assignment from a function that is "not loaded"? Why is it not loaded and how do I load it?
Some actions are added dynamically, e.g. when you activate version control, corresponding actions are added in different menus, etc. That's why sometimes IDEA knows that actions with dedicated shortcuts may be added, but may be not. It warns about such a situation. The message is not easy to read nor to understand though. Will be fixed ASAP.
I'm using winforms and vb.net.
When I right click on a textbox I get the copy/paste/etc popup menu. This is ok. But How can I add something to this menu, and where/how would I intercept the event when one would click on the Item I add to it?
This context menu is baked into Windows, there is no documented way to alter it. Nor is there a message that you could trap to hack the menu. Replacing it is certainly an option, check my answer in this thread for sample code.
Be careful with this, stuff gets added to this menu in different Windows versions. Like "Insert Unicode character" in Win7. You definitely want to avoid this if it is likely that your product will run in an Eastern Asian country.
You'll have to add your own menu if you don't want to use the default.
You'll have to replace the existing default functions with your own code.