Commit graph

11 commits

Author SHA1 Message Date
Sheetal Nandi 00cea41b65 Add sortText depending scope of symbols
Fixes #15024
2019-05-20 15:53:51 -07:00
Andy c97fc64972
Always use verify.completions when testing completions (#28137) 2018-10-29 10:03:25 -07:00
Andy 21cd68dd04
Test for isNewIdentifierLocation, and make true for type with index signature (#22910) 2018-03-27 13:05:41 -07:00
Andy 9557e4ad96
Handle completions in interface / type literal similar to class (#22701)
* Handle completions in interface / type literal similar to class

* Code review
2018-03-23 16:04:29 -07:00
Andy aa2d1008bf Completion for default export should be '.default' (#16742)
* Completion for default export should be '.default'

* Don't include empty string in name table

* getSymbolsInScope() should return local symbols, not exported symbols

* Fix bug: getSymbolAtLocation should work for local symbol too
2017-07-11 07:23:32 -07:00
Sheetal Nandi 893ba1de15 Filter symbols based on the meaning at the location 2017-06-01 10:59:24 -07:00
Sheetal Nandi b3d793608d Completion list for a class extending another class should contain members from base class
Handles #7158
2017-05-05 11:30:32 -07:00
Anders Hejlsberg 8489e521c8 Modify fourslash tests 2015-04-26 16:12:48 -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
Cyrus Najmabadi 0afdedd4ec Use CRLF for line endings. 2015-03-02 14:41:44 -08:00
Sheetal Nandi 430f361353 Enabling more test cases 2014-10-07 11:30:27 -07:00
Renamed from tests/cases/fourslash_old/completionListWithModulesInsideModuleScope.ts (Browse further)