Richard Knoll
ccf27d1339
Minor fix
2016-06-24 14:52:16 -07:00
Paul van Brenk
cca7000032
Merge pull request #9342 from Microsoft/typoinbracecompletion
...
Fix typo
2016-06-24 14:41:10 -07:00
Richard Knoll
c06b02ac34
Adding completions for import and reference directives
2016-06-24 14:31:21 -07:00
Vladimir Matveev
cefaa171eb
[in progress] project system work - major code reorg
2016-06-24 14:30:45 -07:00
jramsay
8312168e91
Merge pull request #9236 from Microsoft/BaseIndentationSupport
...
[Salsa] Adding base indentation for script block formatting and smart indent
2016-06-24 14:22:58 -07:00
Yui
db0d8e094b
Fix 8549: Using variable as Jsx tagname ( #9337 )
...
* Parse JSXElement's name as property access instead of just entity name. So when one accesses property of the class through this, checker will check correctly
* wip - just resolve to any type for now
* Resolve string type to anytype and look up property in intrinsicElementsType of Jsx
* Add tests and update baselines
* Remove unneccessary comment
* wip-address PR
* Address PR
* Add tets and update baselines
* Fix linting error
2016-06-24 14:15:44 -07:00
Jason Ramsay
8c503207be
Add fourslash tests & address CR comments
2016-06-24 13:16:58 -07:00
Andy
2aa1d718ab
Merge pull request #9348 from Microsoft/umd_exports
...
Fix bug where `exports.` was prepended to namespace export accesses
2016-06-24 12:54:58 -07:00
Anders Hejlsberg
477489699c
Correct handling of falsy types ("" | 0 | false)
2016-06-24 11:49:37 -07:00
Andy Hanson
6a60d8bb90
Merge branch 'master' into range_tests
2016-06-24 09:17:57 -07:00
Andy Hanson
6bc8db031c
Remove unnecessary parameter
2016-06-24 09:16:39 -07:00
Andy Hanson
a011b4df12
Fix bug where exports. was prepended to namespace export accesses
2016-06-24 06:51:19 -07:00
Andy
999ac0add3
Merge pull request #9270 from Microsoft/this_references
...
Allow to find all references of the 'this 'keyword
2016-06-24 06:24:12 -07:00
zhengbli
83335f59a7
Add new APIs to protocol
2016-06-24 00:50:15 -07:00
Zhengbo Li
69e2f0e459
Merge pull request #9306 from zhengbli/syncGetErrAPIs
...
Port the sync diagnostics API from tsserverVS-WIP branch to 2.0
2016-06-23 21:59:29 -07:00
Paul van Brenk
6346fc1168
Fix typo
2016-06-23 17:36:59 -07:00
zhengbli
9f9deceeef
Correct the api string name
2016-06-23 16:25:30 -07:00
Wesley Wigham
9cd1f786c3
Merge pull request #9332 from Microsoft/object-whitespace-rule
...
Object whitespace rule
2016-06-23 14:02:36 -07:00
Nathan Shively-Sanders
c9511b736e
1. pass subshell args 2. fix build order in services
...
1. /bin/sh requires its arguments joined into a single string unlike
cmd.
2. services/ depends on a couple of files from server/ but the order was
implicit, and changed from jakefile. Now the order is explicit in the
tsconfig.
2016-06-23 13:08:27 -07:00
Wesley Wigham
59ae2ff8ef
Fix object whitespace lints
2016-06-23 12:39:20 -07:00
Wesley Wigham
be6c34f1c7
Merge pull request #9068 from weswigham/remove-jake
...
Add Gulpfile.ts
2016-06-23 12:17:27 -07:00
Andy Hanson
89c992a8a1
Respond to PR comments
2016-06-23 12:08:18 -07:00
Andy Hanson
1aafc553dd
Change reference tests to verify actual ranges referenced and not just their count
2016-06-23 10:48:35 -07:00
Ryan Cavanaugh
14774d6438
Merge pull request #9305 from RyanCavanaugh/fix9293
...
Properly detect circular constructor-declared `this` properties (JS)
2016-06-23 10:30:07 -07:00
Andy Hanson
62607722d4
Remove Signature#thisType and use Signature#thisParameter everywhere
2016-06-23 10:04:19 -07:00
Nathan Shively-Sanders
3f6010cd9f
Merge pull request #9298 from OrangeShark/new-rest-param-error
...
New rest parameter properties error message
2016-06-23 08:33:05 -07:00
Vladimir Matveev
cf616dc292
[in progress] project system work - path normalization
2016-06-22 17:02:08 -07:00
Vladimir Matveev
c8d37dc87e
[in progress] project system work - versions
2016-06-22 16:51:09 -07:00
Nathan Shively-Sanders
9134ed3b7d
Merge pull request #9303 from Microsoft/signatures-use-jsdoc-for-minArgumentCount
...
Signatures use JSDoc to determine optionality
2016-06-22 15:04:14 -07:00
Wesley Wigham
d008da5888
Make use of module compiler option explicit, add strip internal to tsconfigs
2016-06-22 13:05:58 -07:00
Ron Buckton
12bfb7e987
Merge pull request #9204 from Microsoft/promiseAndAsyncUpdates
...
Update Promise and PromiseLike, fix async functions issues with never.
2016-06-21 18:09:28 -07:00
Vladimir Matveev
c9b82eddda
[in progress] project system work
2016-06-21 17:31:54 -07:00
zhengbli
35c50bfb1f
Port the sync version diagnostics API from tsserverVS-WIP branch to 2.0
2016-06-21 17:13:21 -07:00
Ryan Cavanaugh
66c30931a9
Lint
2016-06-21 16:13:11 -07:00
Erik Edrosa
20f8c33e52
Change binding pattern parameter property error
2016-06-21 19:08:15 -04:00
Nathan Shively-Sanders
3a7396ea1c
For optionality, check question token before JSDoc
2016-06-21 15:55:55 -07:00
Ryan Cavanaugh
0e3ffb5fbe
Don't crash when JS class property is self-referential.
...
Fixes #9293
2016-06-21 15:40:26 -07:00
Bill Ticehurst
8ff2c1ad4f
Fixed linting error
2016-06-21 14:00:42 -07:00
Bill Ticehurst
07bfbab6ff
Changed implementation to use closure
2016-06-21 13:47:17 -07:00
Nathan Shively-Sanders
553d727148
Signatures use JSDoc to determine optionality
2016-06-21 13:01:26 -07:00
Yui
9a85b9369f
Fix rwc-runner from breaking change in compiler ( #9284 )
2016-06-21 12:25:24 -07:00
Jason Ramsay
369253bbc4
Fix case when a document contains multiple script blocks with different base indentations.
...
Use the base indent size if it is greater that the indentation of the inherited predecessor
2016-06-21 11:46:49 -07:00
Mohamed Hegazy
25da96561a
Merge branch 'tsserverVS-WIP' into reuseTrees
2016-06-21 11:35:25 -07:00
Mohamed Hegazy
a45ac2420c
Use document registry to get sourceFiles in SyntaxTreeCache to share trees between semantic and syntaxtic oprations
2016-06-21 11:34:49 -07:00
Erik Edrosa
1a66f54e89
Add error message for rest parameter properties
2016-06-21 14:27:14 -04:00
Erik Edrosa
392fe47478
Add new error for rest parameters
2016-06-21 14:27:14 -04:00
Vladimir Matveev
c5189ddeed
Merge remote-tracking branch 'origin/master' into tsserverVS-WIP
2016-06-21 09:36:57 -07:00
Bill Ticehurst
4d4f679ec4
Merge branch 'master' into loadJsFromModules
2016-06-21 09:03:38 -07:00
Andy Hanson
07437a6e7c
Make goto-definition work for this parameter
2016-06-21 05:56:18 -07:00
Anders Hejlsberg
a91f71488b
Literal types for const enum members
2016-06-20 20:24:54 -07:00