Commit Graph
2995 Commits
Author SHA1 Message Date
Andy Hanson a3feb54d32 Merge branch 'master' into untyped_module_symbol 2017-02-13 13:35:16 -08:00
Anders HejlsbergandGitHub 7cd0e1a0e6 Merge pull request #13990 from Microsoft/fixPrivateProtected
Properly handle private and protected properties in intersections
2017-02-13 08:13:38 -10:00
Mohamed Hegazy 84fc29f900 Fix lint failures detected by tslint@4.4.2 2017-02-09 12:46:09 -08:00
AndyandGitHub 51d4970ce0 Merge pull request #13760 from Microsoft/find_all_refs_tests
Change find-all-references tests to test for groups
2017-02-08 07:05:36 -08:00
Ron Buckton a7728f8fa1 Clean up extraneous file 2017-02-07 11:24:05 -08:00
Ron BucktonandGitHub 955b10edf9 Merge pull request #13825 from Microsoft/publicNodeFactories
Make most current Node factory functions public
2017-02-06 15:43:40 -08:00
Anders Hejlsberg b830dea362 Clean up SymbolFlags, introduce CheckFlags in TransientSymbol 2017-02-05 13:20:10 -08:00
Ron Buckton 9a65a66423 Fix linter error 2017-02-04 22:46:38 -08:00
Zhengbo LiandGitHub df643d8d02 Merge pull request #13405 from zhengbli/13137
Support import fix for missing namespace
2017-02-02 16:11:08 -08:00
zhengbli 62f716aaa6 avoid removing comments when removing unused locals 2017-02-02 13:50:34 -08:00
Zhengbo Li 6c56b3d957 Fix casing in import quick fix 2017-02-02 02:17:49 -08:00
Mohamed Hegazy a39c14ec2e Factor kind check to a separate function 2017-01-31 21:34:25 -08:00
Mohamed Hegazy 52841924da Support string literal completion in case labels 2017-01-31 20:24:36 -08:00
Mohamed Hegazy 3b1b5e241f Add string literal completion for equality expression 2017-01-31 16:44:59 -08:00
Andy Hanson 8515f7e2b5 Change find-all-references tests to test for groups
* Also always test for isWriteAccess and isDefinition
2017-01-31 06:59:16 -08:00
Vladimir MatveevandGitHub 9b6f9305d9 support untyped imports in shims (#13758) 2017-01-30 13:19:44 -08:00
Daniel Rosenwasser 57e224ce3a Merge branch 'master' into fixMissingThis 2017-01-30 12:01:12 -08:00
AndyandGitHub 65125791d2 Merge pull request #13643 from Microsoft/find_all_refs_default
Support find-all-references for default exports
2017-01-26 10:33:17 -08:00
Andy Hanson 5bf9b30c5d Replace isSearchedFor with directly passing searchSymbols 2017-01-26 09:50:38 -08:00
Andy Hanson 916e67a92c For goToDefinition, verify that tryGetSignatureDeclaration returns a signature declaration and not a FunctionType. 2017-01-25 13:02:02 -08:00
Andy Hanson 33b8677cb5 Change "getIsDefinedInLibraryFile" back to just "isDefinedInLibraryFile" 2017-01-24 14:32:39 -08:00
Andy Hanson a478bfddd2 Simplify code in 'rename' 2017-01-24 13:44:36 -08:00
Andy Hanson e8c3d548eb Fix tests 2017-01-24 12:56:21 -08:00
Nathan Shively-Sanders 053b3cd893 getFirstToken skips JSDoc
Fixes #13519.
This is a better fix than #13599.
Also fixes broken tests associated with #13599.
2017-01-23 16:01:29 -08:00
Andy Hanson 0ca4cb25d6 Support find-all-references for default exports 2017-01-23 14:31:29 -08:00
Andy Hanson 77a504bb64 Clean up code in findAllReferences 2017-01-23 13:25:08 -08:00
Anders HejlsbergandGitHub 5b9004e1bc Merge pull request #13604 from Microsoft/intersectionBaseTypes
Allow deriving from object and intersection types
2017-01-21 11:38:24 -10:00
Mohamed HegazyandGitHub 9ced124579 Merge pull request #13610 from basarat/patch-1
export the type `Log` that is used by exported functions
2017-01-20 17:27:45 -08:00
Mohamed HegazyandGitHub 9ac7c322b5 Merge pull request #13599 from Microsoft/getFirstToken-returns-jsdoc
getFirstToken returns jsdoc as single comment
2017-01-20 17:01:02 -08:00
Basarat Ali SyedandGitHub 108d8cf584 export the type Log that is used by exported functions
closes https://github.com/Microsoft/TypeScript/issues/13559
2017-01-21 11:36:18 +11:00
Nathan Shively-Sanders 1183129bda getFirstToken returns jsdoc as single comment
This is a bit odd, but it's the way that 2.0 and earlier behaved. 2.1
broke it.
2017-01-20 10:17:11 -08:00
Andy Hanson 36a9f6798a Merge branch 'master' into find_all_refs_primitive 2017-01-20 06:50:52 -08:00
Andy Hanson 1267fd3030 Don't use nameTable for type keywords, and don't handle keyof. 2017-01-20 06:41:57 -08:00
Anders Hejlsberg a6c5306479 Allow object intersection types as class/interface base types 2017-01-19 13:58:09 -08:00
YuiandGitHub d36cd9b51b Merge pull request #11683 from Microsoft/useCollator_toImprovcePerformance
Remove localeFix function and use collator object when we can
2017-01-18 14:03:57 -08:00
Andy Hanson 2d232c21a2 Support find-all-references for type keywords 2017-01-18 12:27:33 -08:00
Andy Hanson bddcbc5f20 Move code out of closure in getDocumentHighlights, then again out of getSemanticDocumentHighlights and getSyntacticDocumentHighlights.
Also return a `Node[]` instead of a `HighlightSpan[]` where possible and do mapping from Node to HighlightSpan in one place.
2017-01-17 14:49:52 -08:00
AndyandGitHub 65ef51d2f3 Merge pull request #12715 from Microsoft/map5
Use native maps when they're available
2017-01-17 11:04:28 -08:00
Andy Hanson 30ccc7a5d0 Merge branch 'master' into map5 2017-01-17 10:42:27 -08:00
AndyandGitHub d80d8b759a Merge pull request #13535 from Microsoft/empty_types
Move `"types": []` to tsconfig-base
2017-01-17 10:40:59 -08:00
Andy Hanson 9fbadfdc67 Move "types": [] to tsconfig-base 2017-01-17 08:02:39 -08:00
Andy Hanson f1e7142f3c Move code out of closure in getCompletionsAtPosition 2017-01-17 07:42:31 -08:00
AndyandGitHub 4ba382a1d1 Merge pull request #13478 from Microsoft/string_literal_rest_parameter
Support completions for string literal in rest parameter
2017-01-17 06:40:15 -08:00
AndyandGitHub 3b0f2c152b Merge pull request #13476 from Microsoft/findallrefs_unclosure
Move code out of closure in `getReferencedSymbolsForNode`
2017-01-16 09:18:39 -08:00
Andy Hanson f1b481a1b6 Support completions for string literal in rest parameter 2017-01-13 14:13:49 -08:00
Andy Hanson 0b8de64a1b Move code out of closure in getReferencedSymbolsForNode 2017-01-13 13:20:39 -08:00
AndyandGitHub d86d850211 Merge pull request #13401 from Microsoft/navbar_exported_functions
Include "export" modifier on function assigned to an export (`export const x = () => 0;`).
2017-01-13 10:33:39 -08:00
AndyandGitHub 43a2d3849b Merge pull request #13446 from Microsoft/export_equals_completion
Include properties of an `export =` value in import completions.
2017-01-13 09:55:43 -08:00
Andy Hanson 639f5cb6e5 Fix bug for constructor with modifier 2017-01-13 08:10:58 -08:00
Andy Hanson 765114fccd Refactor to move code into checker 2017-01-13 07:57:21 -08:00