3318 Commits

Author SHA1 Message Date
Arthur Ozga
ce5f7072a1 prefix identifiers 2017-06-06 15:23:10 -07:00
Arthur Ozga
f17a612de8 rename codeFix 2017-06-06 13:13:46 -07:00
Mine Starks
52e867c86e Merge pull request #16277 from minestarks/safelistpackagenames
discoverTypings should look at typingSafelist.json values
2017-06-06 10:21:23 -07:00
Mine Starks
ba04dc8860 Add typingsInstaller unit test 2017-06-05 17:45:07 -07:00
Yui T
b9017795a0 Revert "Revert "[Master] wip-dynamic import" (#16264)"
This reverts commit ccc60c8b3b75476c4b11abb6ab4d2e6f06214f8f.
2017-06-05 17:16:29 -07:00
Arthur Ozga
c179d9a22d Merge pull request #16045 from aozgaa/codeFixAddMissingMethod
Code fix add missing method
2017-06-05 16:50:46 -07:00
Ryan Cavanaugh
1f3c2b3998 JSX Closing tags get priority over other completion types (#15922)
Fixes #15897
2017-06-05 16:19:32 -07:00
Mine Starks
ddb9774de7 discoverTypings should look at typingSafelist.json values 2017-06-05 15:52:19 -07:00
Andy
8ace7b826f importFixes: Support missing "React" at a JSXOpeningElement (#16066)
* importFixes: Support missing "React" at a JSXOpeningElement

* Fix nextLineRule linting

* Rename to resolveJsxNamespaceAtLocation

* Expose getJsxNamespace and resolveNameAtLocation separately
2017-06-05 14:23:39 -07:00
Andy
70564110c0 Make use of array helper functions (#16226)
* Make use of array helper functions

* Remove unnecessary 'ts.'
2017-06-05 14:11:43 -07:00
Mohamed Hegazy
ccc60c8b3b Revert "[Master] wip-dynamic import" (#16264) 2017-06-05 10:49:20 -07:00
Yui T
2f476bf22f Merge branch 'master' into master-dynamicImport 2017-06-02 09:10:20 -07:00
Arthur Ozga
2fb9ab798c repond to feedback 2017-06-01 16:06:53 -07:00
Arthur Ozga
c1d466a716 suppress type annotations in js file 2017-06-01 14:12:25 -07:00
Arthur Ozga
f2163fecbd use length helper 2017-06-01 11:09:08 -07:00
Arthur Ozga
5030d0f468 Use factory for all fixes 2017-06-01 10:49:08 -07:00
Arthur Ozga
21fc30f69b Add support across files and static, js methods 2017-05-31 17:41:35 -07:00
Arthur Ozga
c9f5a46121 Merge branch 'master' into addCodeFixMissingMethod 2017-05-30 15:20:59 -07:00
Kate Miháliková
e3e81b8673
Add support for diff3-style conflict 2017-05-30 08:03:58 +02:00
Andy
3cd9f3d2d4 Support services for @typedef (#16087)
* Support services for @typedef

* Ensure JSDocTypeReference has SemanticMeaning.Type

* Get SemanticMeaning right
2017-05-26 09:52:46 -07:00
Andy
7cca4ba536 Merge pull request #16081 from Microsoft/findAllRefs-state
findAllRefs: Replace 'interface State' and 'createState' with just 'class State'
2017-05-25 12:28:06 -07:00
Andy Hanson
528a59fdde Clean up instance variables 2017-05-25 10:23:04 -07:00
Andy Hanson
98893efa11 findAllRefs: Replace 'interface State' and 'createState' with just 'class State' 2017-05-25 10:14:44 -07:00
Andy Hanson
0d1e41d937 In findAllReferences, always return undefined (global) symbol scope for properties; also update baselines 2017-05-25 08:40:50 -07:00
Kanchalai Tanglertsampan
faab927c8d Merge branch 'master' into master-dynamicImport
# Conflicts:
#	src/compiler/checker.ts
#	src/compiler/emitter.ts
#	src/compiler/parser.ts
#	src/compiler/transformers/module/module.ts
#	src/compiler/transformers/module/system.ts
2017-05-24 11:26:06 -07:00
Arthur Ozga
f56be99b11 cleanup 2017-05-23 13:51:00 -07:00
Arthur Ozga
15c029189c testing 2017-05-23 13:32:41 -07:00
Arthur Ozga
420279b99d add missing method 2017-05-23 13:06:15 -07:00
Andy
23b2545586 Merge pull request #16031 from Microsoft/isWriteAccess
findAllReferences: Make "isWriteAccess" handle special declaration kinds
2017-05-23 11:11:18 -07:00
Klaus Meinhardt
f8aae89157 Update more return types to include undefined (#15903)
* Update more return types

* Update types of forEachChild callbacks

* fix line endings
2017-05-23 09:54:02 -07:00
Andy Hanson
7b0bd090e2 findAllReferences: Make "isWriteAccess" handle special declaration kinds 2017-05-23 09:14:19 -07:00
Andy Hanson
b1e100e494 Merge branch 'master' into kind 2017-05-23 07:02:30 -07:00
Arthur Ozga
567b10d71c Merge pull request #15545 from aozgaa/atTypesPrefixAndImportSuffix
At types prefix and import suffix
2017-05-22 16:53:04 -07:00
Nathan Shively-Sanders
bc914c02e6 Merge pull request #15932 from Microsoft/decl-emit-class-expr-as-type-literal
Declaration-emit class expressions as type literals
2017-05-22 15:46:38 -07:00
Nathan Shively-Sanders
860e8e88c8 Add error for class exprs w/private properties 2017-05-22 14:49:35 -07:00
Andy Hanson
f94818da36 Also convert ClassificationTypeNames and CommandTypes/CommandNames 2017-05-22 10:40:59 -07:00
Andy Hanson
694efba7d2 Fix use of getTokenAtPosition to use updated signature 2017-05-22 07:48:40 -07:00
Andy
24d98f2295 Merge pull request #15856 from Microsoft/jsdoc
Support for JSDoc in services
2017-05-22 07:46:52 -07:00
Basarat Ali Syed
2068192e5b export type used by an exported function (#15965) 2017-05-20 11:33:33 -07:00
andy-ms
b162097c3c Make ScriptElementKind and HighlightSpanKind string enums 2017-05-20 07:56:24 -07:00
Ryan Cavanaugh
f6fbe61718 Refactoring support (squash) 2017-05-19 10:45:49 -07:00
Andy Hanson
d646c727e7 Merge branch 'master' into jsdoc 2017-05-19 08:18:18 -07:00
Andy Hanson
ba884bc27b Merge branch 'master' into jsdoc 2017-05-19 08:14:52 -07:00
Andy
38ece3b703 Merge pull request #15737 from Microsoft/findAllRefs_module
Support find-all-references for a module specifier
2017-05-19 08:11:56 -07:00
Andy Hanson
eec82408d5 Debug.assert(false) -> Debug.fail() 2017-05-19 07:43:09 -07:00
Anders Hejlsberg
947abf5d6b Merge branch 'master' into literalEnumTypes
# Conflicts:
#	src/compiler/checker.ts
#	src/compiler/diagnosticMessages.json
#	src/compiler/types.ts
#	src/compiler/utilities.ts
#	src/services/completions.ts
2017-05-17 11:59:12 -07:00
Andy Hanson
dc40f5d6b9 Merge branch 'master' into jsdoc 2017-05-17 07:17:32 -07:00
Andy
fc4dd2b4e5 Merge pull request #15890 from Microsoft/todoComments
Services utilities: Combine `isInsideComment` with `isInComment`
2017-05-17 07:09:33 -07:00
Arthur Ozga
11019e4a4a Merge branch 'master' into typeToStringViaTypeNode 2017-05-16 15:35:31 -07:00
Andy Hanson
0defde7185 Services utilities: Combine isInsideComment with isInComment 2017-05-16 15:05:46 -07:00