1278 Commits

Author SHA1 Message Date
Yui
72c19ec806 Fix 7304: show correct quickinfo on "this" in type position (#8508)
* Show correct quickinfo when using this in type position

* Split quickinfo test into smaller files and add test case
2016-05-07 09:12:53 -07:00
František Žiačik
ba2a33049c Formatting space vs tabs tests added 2016-05-05 23:35:36 +02:00
Anders Hejlsberg
dbfe80b348 Fix fourslash test 2016-05-02 16:24:21 -07:00
Mohamed Hegazy
0c507747c8 Add a contextual type in test case 2016-05-02 10:18:13 -07:00
Mohamed Hegazy
0cd0e0b5ea Code review comments 2016-04-29 17:04:53 -07:00
Mohamed Hegazy
423503c883 Fix #7611: Add support for String Literal Types in find all refs and occurances 2016-04-28 23:29:10 -07:00
Anders Hejlsberg
65edb527f5 Adding fourslash test 2016-04-27 09:08:45 -07:00
Mohamed Hegazy
39d64a2709 Add configured projects to the list of projects when searching 2016-04-23 14:10:26 -07:00
Anders Hejlsberg
5ed6f30f1f Merge pull request #8010 from Microsoft/controlFlowTypes
Control flow based type analysis
2016-04-22 14:18:56 -07:00
Zhengbo Li
b05a2304aa Merge pull request #8236 from zhengbli/i8222
Treat TS-only keywords as identifiers in jsdoc comments
2016-04-21 16:28:01 -07:00
Anders Hejlsberg
4fb31acf2f Update fourslash test 2016-04-21 16:06:21 -07:00
zhengbli
8709975f0b Merge branch 'master' of https://github.com/Microsoft/TypeScript into i2531
# Conflicts:
#	src/server/session.ts
2016-04-21 14:47:31 -07:00
Zhengbo Li
350f62ff29 treat TS only keywords as identifiers in jsdoc comments 2016-04-20 19:49:48 -07:00
Mohamed Hegazy
d0cfe43d88 Merge pull request #8210 from Microsoft/Fix8162
Fix #8162 and #8173: Add root symbols to search in find all referecnes
2016-04-20 09:27:57 -07:00
Mohamed Hegazy
b85f34ba59 Fix #8162 and #8173: Add root symbols to search in find all referecnes 2016-04-19 19:30:11 -07:00
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
Anders Hejlsberg
df62fa0ccb Merge branch 'master' into controlFlowTypes 2016-04-12 09:37:34 -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
Anders Hejlsberg
b1e9f43d28 Merge branch 'master' into controlFlowTypes
Conflicts:
	src/compiler/checker.ts
	tests/baselines/reference/typeAssertions.errors.txt
2016-04-10 09:30:30 -07:00
Anders Hejlsberg
92df0297c8 Fixing tests 2016-04-09 18:31:19 -07:00
Anders Hejlsberg
7dfcad65b4 Fixing fourslash tests 2016-04-09 17:56:33 -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