1240 Commits

Author SHA1 Message Date
CyrusNajmabadi
b3a74ae32d Merge pull request #2094 from Microsoft/patternMatcher
Add a PatternMatcher API (similar to the one in Roslyn) for more advanced matching with features like NavigateTo.
2015-02-21 14:56:11 -08:00
CyrusNajmabadi
df963e4218 Merge pull request #2097 from Microsoft/binaryExpressionEmit
Preserve newlines and indentation for binary expression emit when possible.
2015-02-21 14:45:50 -08:00
Cyrus Najmabadi
06a278458a Merge branch 'master' into patternMatcher
Conflicts:
	src/services/services.ts
2015-02-21 14:34:15 -08:00
Cyrus Najmabadi
0ae0a6fa43 CR feedback. 2015-02-21 14:29:01 -08:00
Cyrus Najmabadi
7e6eee179b Sort navigate to items by name, after sorting by kind. 2015-02-20 22:23:43 -08:00
Cyrus Najmabadi
8c90fc6bc8 Merge branch 'master' into binaryExpressionEmit
Conflicts:
	src/compiler/checker.ts
2015-02-20 21:28:15 -08:00
Cyrus Najmabadi
fc229368d1 Include the binary expression's operator in the AST. 2015-02-20 18:56:42 -08:00
Cyrus Najmabadi
eb5936b06f Merge branch 'master' into baseZero
Conflicts:
	src/harness/harnessLanguageService.ts
2015-02-20 16:56:58 -08:00
CyrusNajmabadi
5c1ef11d69 Merge pull request #2084 from Microsoft/limitNavigateTo
Allow clients to limit the amount of data that navigate to returns.
2015-02-20 16:42:06 -08:00
Cyrus Najmabadi
4b271d2d23 Address code review feedback. 2015-02-20 16:28:33 -08:00
Cyrus Najmabadi
128295dea9 CR feedback. 2015-02-20 13:55:45 -08:00
Jason Freeman
566e4fb2dd Formatting around 'of' keyword 2015-02-20 11:58:50 -08:00
Cyrus Najmabadi
49c78968a3 CR feedback. 2015-02-20 11:25:42 -08:00
Cyrus Najmabadi
33e1e5d905 Add a PatternMatcher API (similar to the one in Roslyn) for more advanced matching with features like NavigateTo. 2015-02-20 00:22:41 -08:00
Cyrus Najmabadi
8d7791c579 Merge branch 'master' into limitNavigateTo 2015-02-19 15:34:05 -08:00
Cyrus Najmabadi
2b64e50489 Add support for limiting the number of NavigateTo results that you get back. 2015-02-19 15:13:03 -08:00
Steve Lucco
6d7045ec5a Merge pull request #2041 from Microsoft/TSServer
TS Server
2015-02-19 13:10:21 -08:00
Jason Freeman
5596993351 Merge branch 'master' into forOf
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	tests/baselines/reference/APISample_compile.js
	tests/baselines/reference/APISample_compile.types
	tests/baselines/reference/APISample_linter.js
	tests/baselines/reference/APISample_linter.types
	tests/baselines/reference/APISample_transform.js
	tests/baselines/reference/APISample_transform.types
	tests/baselines/reference/APISample_watcher.js
	tests/baselines/reference/APISample_watcher.types
2015-02-18 14:49:10 -08:00
Jason Freeman
1a3294a7d2 Parity sweep for for-in & for-of 2015-02-18 11:35:29 -08:00
Jason Freeman
47404bccf0 Merge branch 'master' of https://github.com/Microsoft/TypeScript into esSymbols 2015-02-17 17:02:22 -08:00
jramsay
9788acf475 Merge pull request #1990 from Microsoft/isDefaultLibFile
Replace endsWith() check with canonical normalized path comparison in getRenameInfo()
2015-02-17 15:17:38 -08:00
Jason Ramsay
975f10c6a1 Adding getCanonicalFileName to ensure case-sensitive systems do not have issues 2015-02-17 14:44:45 -08:00
Jason Freeman
dd6a12911c Merge branch 'master' of https://github.com/Microsoft/TypeScript into esSymbols 2015-02-17 12:39:08 -08:00
Cyrus Najmabadi
124a77cc3a Remove 'ZeroBased' from all APIs, now that all APIs are zero based. 2015-02-16 19:35:45 -08:00
Cyrus Najmabadi
8ba9180730 Remove the one based APIs. 2015-02-16 19:16:16 -08:00
Cyrus Najmabadi
873e4e3e8a Move formating over to zero based math. 2015-02-16 18:57:10 -08:00
Cyrus Najmabadi
dd90c22406 Use zero based math in hte services layer. 2015-02-16 18:37:38 -08:00
Cyrus Najmabadi
f06dddcf1e Simplify helper function. 2015-02-16 18:05:29 -08:00
Cyrus Najmabadi
f4da5d724f Move the smart indenter over to zero based math. 2015-02-16 18:00:43 -08:00
Cyrus Najmabadi
edbedc7d5d Make code more clearly state that it is one based. 2015-02-16 17:47:32 -08:00
Cyrus Najmabadi
1098e80f4b Remove one-based helper function. 2015-02-16 17:41:07 -08:00
Cyrus Najmabadi
8ef4df8acb Move the emitter over to using zero based indexing. 2015-02-16 17:34:11 -08:00
Cyrus Najmabadi
b3366ec8b4 name more line/char functions more clearly. Use zero based indexing in breakpoints. 2015-02-16 16:18:53 -08:00
Cyrus Najmabadi
11a9df2cc9 Expose zero-based helpers that code will be able to call. 2015-02-16 15:30:21 -08:00
Cyrus Najmabadi
35b489d7d1 Rename our one-based methods to more clearly indicate that that's what base they use. 2015-02-16 15:20:05 -08:00
Daniel Rosenwasser
fee50a6dbc Made the actual implementation of the lexical classifier be non-optional. 2015-02-16 14:59:22 -08:00
Jason Freeman
9c273d8133 Merge branch 'master' of https://github.com/Microsoft/TypeScript into esSymbols
Conflicts:
	src/services/services.ts
2015-02-13 14:52:03 -08:00
Daniel Rosenwasser
1dca5620f5 Addressed CR feedback. 2015-02-13 12:56:21 -08:00
Jason Ramsay
93ca5ae970 Merge branch 'master' into isDefaultLibFile 2015-02-13 12:41:18 -08:00
Jason Ramsay
a51ce92500 switch to using host.getDefaultLibFileName(options) 2015-02-13 11:56:39 -08:00
Daniel Rosenwasser
15b333e102 Added comment for 'syntacticClassifierAbsent'. 2015-02-12 16:29:03 -08:00
Daniel Rosenwasser
1838800b6c Fixed assertion 2015-02-12 16:29:01 -08:00
Daniel Rosenwasser
ab79faef85 Added tests, fixed order of emptying templateStack, unconditionally perform template classification. 2015-02-12 16:28:45 -08:00
Daniel Rosenwasser
3fea0aefbe classifyKeywordsInGenerics -> syntacticClassifierAbsent 2015-02-12 15:48:32 -08:00
Daniel Rosenwasser
f1f085eda6 Addressed CR feedback. 2015-02-12 15:48:30 -08:00
Daniel Rosenwasser
3429fab6fb Fixed issue with the kinds we check. 2015-02-12 15:48:27 -08:00
Daniel Rosenwasser
ea30c68128 Rudimentary, but imperfect, lexical classification for templates. 2015-02-12 15:48:21 -08:00
Daniel Rosenwasser
3e8babedcf Merge pull request #1271 from Microsoft/taggedSigHelpAtEnd
Fixed bug where tagged templates with a literal adjacent to EOF showed sig help past the end.
2015-02-12 11:37:32 -08:00
Jason Freeman
486cebd224 Merge branch 'master' of https://github.com/Microsoft/TypeScript into esSymbols 2015-02-12 11:03:35 -08:00
Mohamed Hegazy
27a9084785 Add indexer on the Formatting options interface 2015-02-11 16:13:04 -08:00