3330 Commits

Author SHA1 Message Date
Andy
2748b3b334 Add isForInOrOfStatement utility (#16455) 2017-06-12 11:08:41 -07:00
Andy
44d5c44cb5 Document highlights for a JSX tag should just be the matching tag, not all references (#16453) 2017-06-12 11:08:21 -07:00
Andy
09321b3834 Convert Extension to a string enum (#16425) 2017-06-09 19:32:44 -07:00
Andy
13b7d17da7 Don't bind JSDoc type parameter in a TS file (#16413)
* Don't bind JSDoc type parameter in a TS file

* Fix tests

* Remove unnecessary non-null assertions
2017-06-09 14:52:01 -07:00
Andy
0d36d0e39f Support completions for qualified names in JSDoc (#16380)
* Support completions for qualified names in JSDoc

* Fix typo
2017-06-08 17:21:36 -07:00
Kanchalai Tanglertsampan
7d2d35d0bf Include dynamic import during pre-processing needed by VS 2017-06-08 14:31:44 -07:00
Andy
43e3d60f09 Fix lint failure (#16338)
* Fix lint failure

* Use curly braces
2017-06-07 15:50:26 -07:00
Andy
abb9681248 Support completions for JSDoc @param tag names (#16299)
* Support completions for JSDoc @param tag names

* Undo change to finishNode

* Don't include trailing whitespace in @param range; instead, specialize getJsDocTagAtPosition
2017-06-07 12:28:52 -07:00
TravCav
b57830f7f9 enforcing curly braces (#16315) 2017-06-07 11:58:25 -07:00
Andy
68122ea4cc Support find-all-references for export = of class expression (#16327)
* Support find-all-references for `export =` of class expression

* Add comments
2017-06-07 11:16:12 -07:00
Ryan Cavanaugh
6007eb7dfb Merge pull request #16307 from RyanCavanaugh/refactor_refactor
Refactor refactor
2017-06-06 22:28:52 -07:00
Chuck Jazdzewski
ce1d1c81ef Add support for external file references in source maps 2017-06-06 17:45:08 -07:00
Ryan Cavanaugh
f739f68231 Tidy up 2017-06-06 16:08:24 -07:00
Ryan Cavanaugh
1f3ef7df7a Refactor refactor 2017-06-06 14:58:18 -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