2811 Commits

Author SHA1 Message Date
Anubha Mathur
7073b3513b removing unneccessary comments 2016-12-08 10:07:11 -08:00
Anubha Mathur
081c692197 replacing let with const 2016-12-07 11:14:24 -08:00
Anubha Mathur
942c3c6d77 Merge remote-tracking branch 'origin/master' into correctCommentsScaffolding 2016-12-06 17:45:49 -08:00
Sheetal Nandi
7d049c2742 Write property name of destructuring pattern explicitly
There wont be any symbol for the property name but we already know it is a property name
Fixes #12166
2016-12-06 11:42:44 -08:00
jramsay
855431a943 Merge pull request #12373 from Microsoft/RenameTypingOptions
Rename typingOptions.enableAutoDiscovery to typeAcquisition.enable
2016-11-22 17:22:30 -08:00
Vladimir Matveev
b060107b51 recompute character to column when comparing indentations (#12375)
recompute character to column when comparing indentations
2016-11-21 11:34:09 -08:00
Nathan Shively-Sanders
409253145e Merge pull request #12335 from Microsoft/getJSDoc-cleanup
getJSDocs cleanup
2016-11-21 11:30:27 -08:00
Andy Hanson
7c1f33f913 Fix lint errors 2016-11-21 10:42:54 -08:00
Jason Ramsay
5a9451ae23 Rename typingOptions.enableAutoDiscovery to typeAcquisition.enable 2016-11-18 18:14:32 -08:00
Nathan Shively-Sanders
0c5429d3b7 Add missed jsDoc rename in services' Node implementation
Why would you implement an interface using a *class*?
2016-11-18 15:48:31 -08:00
Nathan Shively-Sanders
91e6bce34c Address PR comments 2016-11-18 15:44:15 -08:00
Nathan Shively-Sanders
7caee79ce7 Rename getJSDocComments -> getCommentsFromJSDoc 2016-11-18 15:10:19 -08:00
Nathan Shively-Sanders
5a05b94fb5 Clean up getJSDocs
1. Get rid of parent check.
2. Use a couple of nested functions, one of them a recursive worker.
2016-11-17 13:27:57 -08:00
Paul van Brenk
52ec508e27 Code fix for missing imports (#11768)
* Add codefix for missing imports + tests

* Re-order and cleanup

* refactor

* make tests pass

* Make import specifier for new imports more comprehensive

* Fix existing import cases

* refactor

* Fix multiple import statement case

* add multiple code fixes and code action filtering and polishing

* not using the generic verify method for import fixes.

* Correct insert position for new imports

* improve the code action filtering logic

* Fix line ending issue

* cache where we can
2016-11-16 16:01:16 -08:00
Anubha Mathur
c970c78985 Add parameter type in function support comments for JS files 2016-11-16 13:59:06 -08:00
Ron Buckton
0dd96f52e8 Merge branch 'master' into streamlineDestructuring 2016-11-15 13:38:56 -08:00
Paul van Brenk
1924298d87 Merge branch 'master' into unusedidentifier 2016-11-15 10:17:37 -08:00
Vladimir Matveev
f13e6d4ca6 enable syntactic features if project size exceeded the limit, send events when state of language service changes (#12190)
* enable syntactic features if project size exceeded the limit, send events when state of language service changes

* allow getting compiler options diagnostics when language service is disabled
2016-11-14 15:10:32 -08:00
Mohamed Hegazy
964f9c5fe2 Make failedLookupLocations an array 2016-11-14 13:24:03 -08:00
Mohamed Hegazy
57a602b924 Include no types in services 2016-11-14 12:47:04 -08:00
Mohamed Hegazy
4782563ee3 Filter JS files from resolutions sent to VS through shims 2016-11-14 12:46:56 -08:00
Anders Hejlsberg
f437c8f318 Merge pull request #12114 from Microsoft/mappedTypes
Mapped types
2016-11-13 15:39:32 -08:00
Vladimir Matveev
b15d144955 switch to tslint@next (#12201) 2016-11-13 13:34:18 -08:00
Vladimir Matveev
3b09010c7c enable syntactic features if project size exceeded the limit, send events when state of language service changes 2016-11-11 17:35:11 -08:00
Mohamed Hegazy
ea309fe504 Update version (#12162) 2016-11-10 16:30:01 -08:00
Anders Hejlsberg
64d269885c Merge branch 'master' into mappedTypes
# Conflicts:
#	src/compiler/checker.ts
2016-11-10 11:17:53 -08:00
Nathan Shively-Sanders
be5e5fb872 Merge pull request #11150 from Microsoft/object-spread
Object spread/rest
2016-11-10 09:28:58 -08:00
Vladimir Matveev
28cc938503 (signature help) type parameter lists are never variadic (#12112) 2016-11-08 16:10:34 -08:00
Anders Hejlsberg
7ca5923214 Merge branch 'master' into mappedTypes
# Conflicts:
#	src/compiler/checker.ts
2016-11-08 07:12:35 -08:00
Vladimir Matveev
9e3d6efb19 reduce set of files being watched, increase polling interval (#12054) (#12092) 2016-11-07 21:13:11 -08:00
Ron Buckton
ddc4ae7eac Reuse subtree transform flags for incrementally parsed nodes (#12088) 2016-11-07 16:03:04 -08:00
Nathan Shively-Sanders
f03fecbd31 Merge branch 'master' into object-spread 2016-11-07 11:02:49 -08:00
Anders Hejlsberg
de93876abe Correct symbol display for type parameter of mapped type 2016-11-07 09:43:20 -08:00
Nathan Shively-Sanders
a84c7aeea4 Rename SpreadElementExpression -> SpreadAssignment
and SpreadExpression (formerly SpreadElementExpression) -> SpreadElement
2016-11-07 08:36:03 -08:00
Paul van Brenk
40c0cbd7b5 Clean up 2016-11-03 13:28:08 -07:00
Paul van Brenk
2f453ce674 Handle most module cases 2016-11-03 12:48:28 -07:00
Vladimir Matveev
ab75ea75d3 module resolution: prefer locally defined ambient modules, reuse resolutions to ambient modules from the old program (#11999)
module resolution: prefer locally defined ambient modules, reuse resolutions to ambient modules from the old program
2016-11-02 14:41:26 -07:00
Nathan Shively-Sanders
2ae6ecc1a5 Merge branch 'master' into object-spread 2016-11-02 10:57:20 -07:00
Paul van Brenk
71960187cd Removed unused, confusing cases 2016-11-01 16:43:17 -07:00
Paul van Brenk
b59714ea7e Add more testcases and simplify 2016-11-01 16:31:23 -07:00
Nathan Shively-Sanders
39b9163715 Rename Experimental transform to ESNext
1. Spread/rest are no longer experimental.
2. We need a place to put stage 3 ES features.
2016-10-27 16:03:01 -07:00
Andy Hanson
12f6dcefa1 Revert "Merge pull request #11354 from Microsoft/map4"
This reverts commit adfdae0dc47db5ad8248d26929a7b31cb895a539, reversing
changes made to aad663cebf6a89f7029af57d8cb6a0a011854978.
2016-10-27 15:50:21 -07:00
Nathan Shively-Sanders
58ffb4e668 Merge branch 'master' into object-spread 2016-10-27 15:29:21 -07:00
Andy Hanson
bcc0807198 Respond to PR comments 2016-10-27 13:14:56 -07:00
Andy Hanson
867093707b Merge branch 'master' into map4 2016-10-27 12:36:50 -07:00
Andy Hanson
dec5f4b39a Merge branch 'master' into map4 2016-10-27 12:21:06 -07:00
Andy Hanson
0f8003fb39 Make extension property of ResolvedModule optional; introduce ResolvedModuleFull interface for when the extension is provided. 2016-10-27 11:35:20 -07:00
Andy
b5ba3152ff Merge pull request #11704 from Microsoft/refactor_module_resolution
Return both ts and js results from module resolution
2016-10-27 06:03:29 -07:00
Ron Buckton
e6bea90a1f Merge pull request #11769 from Microsoft/moveModuleTransformToEnd
Move module transformers to end of transformations
2016-10-26 17:51:34 -07:00
Andy Hanson
c958c47ef5 Merge branch 'master' into map4 2016-10-26 11:05:51 -07:00