1258 Commits

Author SHA1 Message Date
Zhengbo Li
3a8ebf109f Merge pull request #7954 from zhengbli/supportScriptKindOnServer
Add API support for LS host to specify script kind of a file to open
2016-04-19 15:41:47 -07:00
zhengbli
cc58e2d7eb Use string literal type for script kind names 2016-04-19 15:20:05 -07:00
Vladimir Matveev
80df773c77 fix formatting for lines that start with continuation of multiline comments 2016-04-19 14:16:43 -07:00
Daniel Rosenwasser
a07e25a0a8 Added another fourslash test. 2016-04-16 19:18:03 -07:00
Daniel Rosenwasser
5814261d6c Added tests for quick-info on string-named enum members. 2016-04-16 12:57:26 -07:00
Paul van Brenk
96deb553d5 Script side implementation for Brace Completion. (#7587)
* Script side implementation for Brace Completion.

This needs updated Visual Studio components to work.

* Changed CharacterCodes to number, to keep the API simple

* CR feedback

* CR feedback and more JSX tests

* Swapped 2 comments

* typo
2016-04-15 11:38:42 -07:00
Mohamed Hegazy
8c8eaaa2a2 Check for class expressions when finding related symbols in base types 2016-04-14 11:48:35 -07:00
Sheetal Nandi
41c1a5b497 Merge pull request #7945 from Microsoft/renameAndFindRef
Fixes rename for destructuring, named imports and default imports
2016-04-13 15:46:43 -07:00
Sheetal Nandi
edd098990b Removed debugger; statement 2016-04-11 16:05:36 -07:00
Sheetal Nandi
c2e12efc89 Completion list of named imports shouldnt contain default export member
Fixes #6124
2016-04-11 13:33:16 -07:00
Vladimir Matveev
e5e7d47782 merge with origin/master 2016-04-08 14:38:47 -07:00
Sheetal Nandi
9e82646ac3 Another test case for rename in destructuring assignment 2016-04-08 13:41:16 -07:00
Sheetal Nandi
f7ca43917f Handle the rename locations for default import
Handles #7024
2016-04-08 10:19:02 -07:00
zhengbli
a2035a572e Add API support for LS host to specify script kind of a file to open 2016-04-07 23:01:20 -07:00
Sheetal Nandi
a405f285ec Merge branch 'master' into renameAndFindRef 2016-04-07 15:48:46 -07:00
Sheetal Nandi
2e44bccb36 Test case for nested binding element's rename 2016-04-07 15:45:45 -07:00
Sheetal Nandi
ad916ab05d Handles when property is renamed and is also part of destructuring assignment
Handles destructuring assignment part of #6312
2016-04-07 15:41:42 -07:00
Sheetal Nandi
6d43c02796 Test cases when var is renamed and used in destructuring 2016-04-07 10:48:21 -07:00
Sheetal Nandi
168d106421 Test cases for destructuring declarations in "for" and "for of" loops 2016-04-07 10:47:57 -07:00
Sheetal Nandi
01ca100d16 Include the target symbol in search if location is propertyName or the import or export specifier dont specify "as" clause
Handles #7708
2016-04-06 14:24:20 -07:00
Sheetal Nandi
ace2285ac2 Destructuring of object binding pattern element without property name should reference property
Fixes #6312
2016-04-06 12:30:56 -07:00
Vladimir Matveev
e2a23fd598 remove compilationRoot parameter, use typesRoot/config file location as a root when computing primary locations 2016-04-05 16:33:11 -07:00
Vladimir Matveev
12d90f3be9 added tests 2016-04-01 12:41:45 -07:00
Nathan Shively-Sanders
ce68932475 Merge branch 'master' into this-function-types 2016-03-31 10:46:03 -07:00
Nathan Shively-Sanders
0060b4d663 Test that signature help doesn't show 'this' 2016-03-31 09:32:34 -07:00
Kanchalai Tanglertsampan
f052e90fd1 Update fourslash tests 2016-03-28 14:21:08 -07:00
Nathan Shively-Sanders
9e5f26048b Merge branch 'master' into this-function-types 2016-03-28 10:12:25 -07:00
Tingan Ho
b7c3547937 Merged with master 2016-03-27 02:43:32 +08:00
Nathan Shively-Sanders
c9f5f3d67e Remove --strictThisChecks 2016-03-25 15:41:37 -07:00
Mohamed Hegazy
3ee67e7cf6 Fix #7637: treat jsx tag names as expressions 2016-03-22 14:55:24 -07:00
Mohamed Hegazy
d5c3a0a52b Fix issue with find references for jsx tags 2016-03-21 15:40:14 -07:00
Vladimir Matveev
112e4b1e80 Addressed PR feedback 2016-03-17 14:40:05 -07:00
Vladimir Matveev
6cfa64daa3 show completion in destructured parameter if containing function was contextually typed 2016-03-17 11:37:52 -07:00
Nathan Shively-Sanders
1032cc5408 Rename --strictThis to --strictThisChecks
Use the upcoming naming scheme for --strict.*Checks and --strictChecks
flags.
2016-03-11 13:24:31 -08:00
Bill Ticehurst
3ebf0fc383 Fixed default import from export equals
(cherry picked from commit c4a10cfcdd51f831c3039e305c1c465a85c93b0b)
2016-03-09 19:13:14 -08:00
Bill Ticehurst
b760fc0ae0 Fixed es2015 imports from export=
(cherry picked from commit 9e46c180b4063e56eb947928615a3ebd46ecbe5e)
2016-03-09 19:13:13 -08:00
Nathan Shively-Sanders
fa22250110 Merge branch 'master' into this-function-types 2016-03-09 13:36:42 -08:00
Ryan Cavanaugh
5dbf252dc5 Fix duplicate errors in JSDoc function types with anon parameters
Fixes #6993
2016-03-09 09:18:54 -08:00
Ryan Cavanaugh
311f8dd7d3 Merge pull request #7309 from RyanCavanaugh/fix6878
Support JSDoc on class / obj. literal getters
2016-03-03 15:50:15 -08:00
Tingan Ho
194927e51b Update with master 2016-03-03 13:58:20 +08:00
Ryan Cavanaugh
6cdbc6cad0 Show aliases (e.g. imports) in JSX tag completion positions
Fixes #4577
2016-03-01 13:47:29 -08:00
Ryan Cavanaugh
1f9153f801 Update to push types through as well 2016-03-01 12:26:17 -08:00
Ryan Cavanaugh
50eca44e46 Support JSDoc on class / obj. literal getters
Fixes #6878
2016-02-29 18:55:32 -08:00
Tingan Ho
fd2d28df02 Fixes new implementation 2016-02-22 12:38:14 +08:00
Tingan Ho
4d933f86ce Fixes method and constructor top-level 2016-02-22 11:19:38 +08:00
Tingan Ho
d6485c9c8f Adds navigation bar items on methods and constructors 2016-02-22 05:37:07 +08:00
Daniel Rosenwasser
3380f2bbd5 Merge pull request #7143 from SaschaNaz/formatJsxText
(Un)format JSX Text
2016-02-19 13:47:44 -08:00
Nathan Shively-Sanders
86047a7206 Switch test encoding from UTF16 to iso-8859 2016-02-19 08:27:08 -08:00
Nathan Shively-Sanders
974adedb95 Add fourslash test 2016-02-18 16:29:03 -08:00
Kagami Sascha Rosylight
33970b8045 format jsx 2016-02-19 09:16:52 +09:00