Commit Graph

515 Commits

Author SHA1 Message Date
Sheetal Nandi
0762e55286 Merge branch 'master' into constLet 2014-11-20 17:27:39 -08:00
Sheetal Nandi
51017cdd11 Merge pull request #1140 from Microsoft/signatureInfoApiRemoval
Remove the Obsolete api getSignatureAtPosition
2014-11-20 17:13:23 -08:00
Sheetal Nandi
4320c67a38 Merge branch 'master' into constLet 2014-11-20 16:56:14 -08:00
CyrusNajmabadi
4fb04c72c3 Merge pull request #1230 from Microsoft/removeImpls
Remove unnecessary 'do nothing' implementations in SourceFileObject.
2014-11-20 16:47:27 -08:00
Sheetal Nandi
302c246934 Merge branch 'master' into signatureInfoApiRemoval 2014-11-20 16:47:14 -08:00
Cyrus Najmabadi
598fb71fe9 Remove unnecessary 'do nothing' implementations in SourceFileObject. 2014-11-20 16:32:13 -08:00
Sheetal Nandi
ff23748908 Merge pull request #1131 from Microsoft/relativePathReferenceResolution
Fix the relative path reference resolution
2014-11-20 15:59:06 -08:00
Cyrus Najmabadi
f605699604 Merge branch 'master' into grammarChecks
Conflicts:
	src/compiler/diagnosticMessages.json
	src/compiler/parser.ts
	tests/baselines/reference/objectTypesWithOptionalProperties.errors.txt
2014-11-19 17:29:39 -08:00
Paul van Brenk
629ea86043 Updated test case and added comment 2014-11-19 15:05:07 -08:00
Cyrus Najmabadi
f634bc19d8 Expose parse errors and grammar errors off the source file. 2014-11-19 14:29:20 -08:00
unknown
c2f253f4aa Fix for crash in QuickInfo on module path in import statement. 2014-11-19 13:19:00 -08:00
Sheetal Nandi
264bd5db7c Merge branch 'master' into relativePathReferenceResolution 2014-11-19 13:11:17 -08:00
Yui T
df54db758a Merge branch 'master' into usingShorthand
Conflicts:
	bin/tsc.js
	bin/typescriptServices.js
	src/compiler/parser.ts
2014-11-18 18:25:51 -08:00
Yui T
c417df4306 Remove unused getImplementorAtPosition 2014-11-18 17:54:39 -08:00
Yui T
970aac6458 Address code review 2014-11-18 16:32:18 -08:00
Cyrus Najmabadi
00a49536fe Initial refactoring to support doing grammar checks as a separate pass of the tree.
Right now, this means hiding 'syntacticDiagnostics' behind a getter function that
only computes all the syntactic diagnostics (parser+grammar checks) lazily.

This will help incremental parsing out as we can reuse nodes that have grammar
errors in them, and we dont' have to even do grammar checks if this is not the
full-type-check type-checker.
2014-11-18 15:51:55 -08:00
Yui T
1d78406bf8 Refactoring language service to use short-hand 2014-11-18 14:08:42 -08:00
Mohamed Hegazy
22e2bde7e9 Merge pull request #1158 from gisenberg/master
Adding support for named AMD modules.
2014-11-18 12:18:48 -08:00
Yui T
5844f68040 Address code review 2014-11-18 10:53:14 -08:00
Yui T
e6a1ac14bb Merge branch 'master' into gotoDefShorthand 2014-11-18 09:45:57 -08:00
Vladimir Matveev
ced8785bd3 eliminate usage of TypeScript module from services layer 2014-11-17 17:01:23 -08:00
Vladimir Matveev
d225035622 cut usage of the old tree from the services layer 2014-11-17 15:57:40 -08:00
Yui T
d52b096d55 go-to-definition with test cases 2014-11-17 14:27:14 -08:00
Yui T
1b66ee6f3a Merge branch 'master' into shorthandProperty
Conflicts:
	src/compiler/checker.ts
2014-11-17 11:35:02 -08:00
Vladimir Matveev
23e35bcfc1 Merge branch 'master' into formatting_scanner 2014-11-14 11:01:17 -08:00
Yui T
8bd7aae869 Add comment and clean up implementation on findAllReferences 2014-11-13 17:50:34 -08:00
Yui T
a8ebdf0cbd Address code review 2014-11-13 12:02:13 -08:00
Sheetal Nandi
0877a650c3 Code review feedback 2014-11-12 18:42:31 -08:00
Sheetal Nandi
3472119387 Remove the Obsolete api getSignatureAtPosition 2014-11-12 17:43:02 -08:00
Sheetal Nandi
5e94f4a5c2 Code review feedback 2014-11-12 15:40:45 -08:00
Sheetal Nandi
0fdb0fa2d4 Quickinfo and completion entry should display const enum enumName if enum is constant
Handles #1084
2014-11-12 14:24:51 -08:00
Sheetal Nandi
49ae5c7117 Fixes the quickInfo and completion list details for let and adds test cases for let and const
Handles #1083
2014-11-12 14:23:59 -08:00
Gabriel Isenberg
2302bd23ab Initial support for named AMD modules. 2014-11-12 11:45:43 -08:00
Sheetal Nandi
63a20863c1 Fix the relative path reference resolution
Fixes #1039
2014-11-11 23:06:45 -08:00
Sheetal Nandi
37d84996db Fix the completion entry for __proto
Fixes #850
2014-11-11 15:56:56 -08:00
Yui T
1bf7ecac7a Find all reference for short-hand property assignment 2014-11-11 11:01:12 -08:00
Vladimir Matveev
7c67759ecf merge with master 2014-11-10 17:24:22 -08:00
Sheetal Nandi
04e2169f03 Merge pull request #1116 from Microsoft/normalizeSlashes
Consolidate normalizing slashes from harness to use it from typescript core.ts
2014-11-10 16:28:11 -08:00
Sheetal Nandi
45e4e16afc Consolidated normalizing slashes to use from typescript core in services 2014-11-10 16:09:00 -08:00
Mohamed Hegazy
03c80ac8b3 set the correct range for paramters in signature help 2014-11-10 15:09:16 -08:00
Yui T
7e39622d5d Basic implementation for finding all references 2014-11-10 14:55:41 -08:00
Vladimir Matveev
8960ab9712 addressed CR feedback, added comments, dropped unused code 2014-11-10 13:30:00 -08:00
Yui T
e9122b4d85 Fix get type from short-hand property assignment 2014-11-10 10:51:08 -08:00
Vladimir Matveev
89dee07bf2 merge with master 2014-11-09 23:23:49 -08:00
Mohamed Hegazy
6eabefd630 Merge pull request #1103 from DickvdBrink/unused-vars
Removed some unused variables
2014-11-09 21:45:52 -08:00
Vladimir Matveev
5bbdbffbc3 added tests for formatting in try blocks, add startEndOverlapsWithStartEnd 2014-11-08 23:03:38 -08:00
Vladimir Matveev
b1c2907e21 removed old formatting implementation 2014-11-08 22:30:56 -08:00
Dick van den Brink
0e9e4ab737 More unused variables in services.ts 2014-11-08 18:36:55 +01:00
Dick van den Brink
7cc4db2a1d Removed some unused private functions 2014-11-08 16:48:00 +01:00
Dick van den Brink
96181c9c53 Removed some unused variables 2014-11-08 16:30:56 +01:00