Commit graph

16 commits

Author SHA1 Message Date
Jean Pierre 79dcd3dba1 Correctly resolve tags for function overloads (#30253)
* Correctly resolve tags for function overloads. Fixes #30181

* Better fix for #30181. Added more unit tests

* Fix commentsOverloads tests

* Fallback to first signature when doc and tags are empty
2020-01-10 08:54:26 -08:00
Andy c97fc64972
Always use verify.completions when testing completions (#28137) 2018-10-29 10:03:25 -07:00
Andy e411381266
Fix bug: Don't let empty signature documentation override other documentation (#26638) 2018-08-27 09:38:52 -07:00
Andy e1f22ac568
Combine signatureHelp testing methods (#24132) 2018-05-15 12:34:53 -07:00
Andy 1a0ec81488
quickInfo: Display info for signature on a separate line from variable info (#18698) 2017-11-08 09:56:50 -08:00
Sheetal Nandi 893ba1de15 Filter symbols based on the meaning at the location 2017-06-01 10:59:24 -07:00
Andy Hanson 9f20077914 Use "completionList" methods instead of "memberList" ones, since they're identical 2016-12-07 13:36:11 -08:00
Andy Hanson 956c582786 Simplify quick-info tests 2016-09-13 11:49:01 -07:00
Nathan Shively-Sanders 78ad0f4c82 Re-enable failing fourslash tests 2015-10-06 10:03:27 -07:00
Anders Hejlsberg 06a250effe Commenting out broken fourslash tests 2015-09-21 16:38:54 -07:00
Cyrus Najmabadi eed6f0deca Use an output format for quickinfo that more closely matches the original source.
i.e. use  "var v: string" instead of "(var) v: string".

The parens case should only be used when we're using an english description instead of
an actual language construct.
2015-03-24 00:16:49 -07:00
Mohamed Hegazy 48404452b8 Cleanup completion list logic:
- Do not walk the tree multiple times for the same session, instead pass along the previous token
- Use current token if the this is not after a dot to avoid running into scoping issues
- Also, add some documentation about different steps
2014-10-23 13:42:56 -07:00
Sheetal Nandi 0fbf73a02a Fixed the + overload according to feedback 2014-10-07 17:06:34 -07:00
Sheetal Nandi 05d428a2ec Sshow signature information if possible (even though signature resolution fails) in given location 2014-10-07 15:28:08 -07:00
Sheetal Nandi 643d169465 Better symbol information for lambda variable types at the call site 2014-10-06 14:24:58 -07:00
Sheetal Nandi df423369f1 Overload formatting in the symbol displaying 2014-09-30 17:10:08 -07:00
Renamed from tests/cases/fourslash_old/commentsOverloads.ts (Browse further)