Hide overloads of a method in Intellij - intellij-idea

The opposite of this question. I come from a C# / VisualStudio background, so IntelliJ code completion just seems cluttered with all the overloads. Is there a way to get rid of them?

It's not possible at the moment, you can vote for the related feature request:
IDEA-230901 Combine autocomplete suggestions for overloaded methods

Related

Is there functionality in IntelliJ that let us find the most referred functions or methods?

I'm trying to find a way in IntelliJ IDEA to find all the usages of method calls in a particular project, sorted descendingly from the most used methods to the least. Is that possible?
The background for finding such function is to be able to write tests for the most critical methods and functions in the project.
Just right-mouse-button and click on find-usage

IntelliJ Plugin Development - Parameter / Method Hints

I am looking into writing plugin for the IntelliJ IDE for testing. I would like methods and classes to have something to indicate the number of tests and coverage they have. i.e. I have a method in my class and I can see that it has 3 tests written for it and 50% coverage.
I want this to be done without editing the code at all, almost exactly like how parameter hints work.
My problem is that I am fairly new to this and after reading the documentation I am struggling to see if an interface like this is even possible? Is there a way of doing this? Is there a better way of doing this?
Many Thanks,
James
I'd use codeInsight.lineMarkerProvider extension for this.
Implementing LineMarkerProvider interface allows to show an interactive icon on left gutter. It's the extension used to "Has implementations" icon etc.

Textmate Code Completion Question

I know the ESC key does code completion, but is there a way to get a pop-up(tool-tip I guess) that shows you all the possible choices for a piece of code? As an example, it would be nice when writing Javascript to get a list of available actions. Other apps I've used like Coda do this. I'd like to check out Textmate but I have a hard time getting past this missing feature which I find pretty valuable, particularly as a fairly new programmer who likes to see what options are there as it's a bit of a learning tool for me also. I thought I had found a plugin like what I'm looking for, Dialog2, but it seems to have disappeared as it was meant to be built-in to the never-released TM2.
I've looked around a fair bit for the answer to this question and figured this was my next best option. Thanks.
I don't have Textmate available to try it out, but I believe that option-Esc is supposed to show you the list of possible code completions.
Check out subtleGradient's tmbundle: https://github.com/subtleGradient/javascript.tmbundle
It knows how to auto-wrap for arrays, and objects. Documentation look-up too.

non-XCode IDE for Cocoa?

I think Xcode is a good IDE, but having used Eclipse for Java development in the past I am quite underwhelmed by XCode's code completion and error/warning feedback. (Most of the time, XCode seems to simply try to match the beginning of a text fragment to "words" in the same document, without even using type information to try to determine the appropriateness of a suggested completion.)
Does anyone have ideas or tricks to make XCode approach Eclipse's cleverness, or to realistically develop Cocoa apps with other IDE:s than XCode?
EDIT: Worth keeping an eye on this: code.google.com/p/objectiveclipse/
The good news is, Apple’s working on the problem. One of the goals of the clang compiler project is to create a reusable parser which can be used for better code completion and refactoring support. Indications are that this has borne fruit in the latest Snow Leopard seeds.
Quite simply: no.
You can do almost everything by hand using your favorite text editor but it's not at all recommended. Try designing interfaces without Interface Builder for example.
My advice would be to just stick with Xcode and learn its way of doing things. Yes, it will be different and sometimes might not be "better" in your Eclipsed eyes. Console yourself in the fact that Apple's managed to release some great products using Xcode.
My personal experience is that, each time I use Xcode, I find a new trick which I can add to my bag. Xcode is far more full-featured than what you might think at first (or second) glance.
I've long voiced my rants about what's wrong with Xcode (and what's not wrong with Xcode). But you really don't want to use another tool. And without breaking NDA: Xcode 3.2 with SnowLeopard: Hooray. (Compared to what we have; not compared to what we might want.)
That said, to your original question about code completion, I personally turn off auto-completion in favor of on-demand completion. I find it far more useful and less distracting. In the Code Sense panel, set "Automatically Suggest" to "Never" and make sure the other two options are selected ("Show arguments in pop-up list" and "Insert argument placeholders...") This will do completion in a pop-up box when you hit Escape, making it easy to scroll through looking for what you want. I find that I have to type a lot less this way, especially for methods that are not unique for many characters. 80% of the time, it's highlighting the right thing already.
I have certainly felt your pain — as an experienced Java developer and frequent Eclipse user, I've wished for the same features myself. Unfortunately, I'm not aware of anything that fits the bill. I don't think there was any satisfactory resolution to this SO question, either.
However, I think you'll be quite happy with the improvements to Xcode code completion coming in Snow Leopard — it's vastly smarter about filtering the list of possible completions. Also, there are new conveniences for coding, such as inserting a starting bracket when you forgot one, etc. To my knowledge, there is still no predictive compiling like Eclipse, though.
Is anyone aware of an IDE other than Eclipse that supports predictive compiling and warning/error reporting? Does Eclipse itself support the feature for languages other than Java, such as C++? I'm led to wonder whether the fact that Java is built with independent .java files rather than .h and .c/.cpp/.m files makes it simpler to predictively compile. Also, anything compiled with gcc requires a little more care and attention than the comparatively simpler javac command. Any thoughts?
Check out JetBrains' new IDE called "App Code". It's still in the Early Access Program, but even with the Early Access bugs it is hands-down better than xcode 4.
http://www.jetbrains.com/objc/
emacs and/or vim
Xcode does have some context awareness, when you are sending a message to an object it will generally have the "ESC" list pull up meaningful arguments.
One thing I strongly recommend is looking into text macros. These are not really type aware, but they can save a ton of typing - for instance, after #implementation type "init" and then hit control-. (period) to activate the text macro. It will fill out a whole init method for you. You can create your own, or override the existing macros.

How do I auto-create a code snippet in Visual Studio 2008?

I'm trying to create an interface that automatically implements a fully typed out method in VB.Net
However, I can't figure out how to do it.
I wanna do something that's similar to what happens when you implement IDisposable, where it gives you the full function, including codes and comments.
I know how to make a code snippet and how to use the tab shortcut, but how can I make the code snippet automatically appear when I implement my own interface?
This is easily done in just three steps:
Buy ReSharper
Create a live template to do this
Profit!
Code snippets are a huge pain in the neck to work with for even trivial tasks.