eclipse-typescript icon indicating copy to clipboard operation
eclipse-typescript copied to clipboard

Display multiple type definitions for overloaded methods

Open aciccarello opened this issue 9 years ago • 1 comments

Currently if a method is overloaded, only one definition is displayed. For example the AngularJS service method is defined as:

method) angular.IModule.service(name: string, serviceConstructor: Function): angular.IModule (+2 overloads)

image

With all the extra space in the tooltip box, this description could be expanded to show all definitions (in this case the other 2 overloads).

aciccarello avatar Apr 23 '15 18:04 aciccarello

Hmm, this functionality is mostly dictated by what is provided by the TypeScript language service. If support for displaying more info is in there and you'd like to work on this, please feel free to submit a pull request.

derekcicerone-zz avatar Apr 23 '15 19:04 derekcicerone-zz