Commit Graph
648 Commits
Author SHA1 Message Date
Daniel Rosenwasser 17b790b479 Merge branch 'master' into transitiveExports 2015-04-01 12:00:50 -07:00
Mohamed Hegazy f75c1dd7b6 Merge branch 'master' into exportDefaultReference
Conflicts:
	src/compiler/utilities.ts
2015-03-31 21:35:21 -07:00
Cyrus Najmabadi ee3ba3bf75 CR feedback. 2015-03-31 17:23:52 -07:00
Cyrus Najmabadi f7aaf09603 Add support for parsing and emitting class expressions. 2015-03-31 13:54:43 -07:00
Cyrus Najmabadi a1e18fc22b Introduce a new HeritageClauseElment type.
This type represents the expression+type arguments you can get in a class or interface
heritage clause section.  For class-implements clauses, or interface-extends clauses,
these expressions can only be identifiers or dotted names.  For class extends clauses,
these could be any expressions in the future.  However, for now, we only support identifiers
and dotted names.
2015-03-31 12:29:02 -07:00
Mohamed Hegazy 383f01dbf6 Handel export default declaration completions 2015-03-30 20:28:24 -07:00
Daniel Rosenwasser f70e772acc Merge branch 'master' into transitiveExports
Conflicts:
	src/compiler/checker.ts
2015-03-25 17:02:58 -07:00
Daniel Rosenwasser 8610a881c3 Merge pull request #2495 from Microsoft/useAppropriateCompletionEdge
Use adjusted completion position when at end of identifier
2015-03-25 16:59:11 -07:00
Daniel Rosenwasser a56233f17d Added tests related to completions with keywords. 2015-03-25 16:35:37 -07:00
Daniel Rosenwasser e33b24d3d0 Merge pull request #2480 from dbaeumer/feature/signatureHelp
Add signature help to Typescript server
2015-03-25 15:07:24 -07:00
Daniel Rosenwasser 5f428fefb0 More tests. 2015-03-25 14:16:12 -07:00
Daniel Rosenwasser 36db7aad2d Added test. 2015-03-25 12:04:21 -07:00
Dirk Baeumer c66571b273 Integrated pull request feedback 2015-03-25 12:31:59 +01:00
Mohamed Hegazy fad889283e Merge branch 'master' into exportEqualsMerged
Conflicts:
	src/compiler/checker.ts
	src/compiler/emitter.ts
	src/compiler/types.ts
	tests/baselines/reference/APISample_compile.js
	tests/baselines/reference/APISample_linter.js
	tests/baselines/reference/APISample_transform.js
	tests/baselines/reference/APISample_watcher.js
	tests/baselines/reference/es5ExportDefaultClassDeclaration2.js
	tests/baselines/reference/es5ExportDefaultFunctionDeclaration2.js
	tests/baselines/reference/es6ExportAllInEs5.js
	tests/baselines/reference/es6ExportClauseWithoutModuleSpecifierInEs5.js
2015-03-25 00:06:38 -07:00
Mohamed Hegazy 1c45b77d9e Merge branch 'master' into exportEqualsMerged 2015-03-24 22:28:35 -07:00
Daniel Rosenwasser 2de0a974bb Added tests. 2015-03-24 18:30:44 -07:00
Cyrus Najmabadi 614b1066dc Merge branch 'master' into completionEntryDetails 2015-03-24 14:55:34 -07:00
Cyrus Najmabadi 927e60d592 Merge branch 'master' into findReferences 2015-03-24 14:11:20 -07:00
Cyrus Najmabadi eed6f0deca Use an output format for quickinfo that more closely matches the original source.
i.e. use  "var v: string" instead of "(var) v: string".

The parens case should only be used when we're using an english description instead of
an actual language construct.
2015-03-24 00:16:49 -07:00
Cyrus Najmabadi 7388120386 Fix issue where getSemanticDiagnostics was returning undefined on a .d.ts file. 2015-03-23 19:02:46 -07:00
Mohamed Hegazy f90253f73e Merge branch 'master' into exportEquals
Conflicts:
	src/compiler/checker.ts
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/emitter.ts
	tests/baselines/reference/es6ImportDefaultBinding.errors.txt
	tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImport.errors.txt
	tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImportInEs5.errors.txt
	tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBinding.errors.txt
	tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5.errors.txt
	tests/baselines/reference/es6ImportDefaultBindingInEs5.errors.txt
2015-03-23 11:06:44 -07:00
Anders Hejlsberg 57a9fc54c8 Separate 'export default' and 'export =' 2015-03-21 13:12:39 -07:00
Cyrus Najmabadi cbeeb519b1 Add a new findReferences API that buckets results with the definition they matched against. 2015-03-20 14:31:36 -07:00
Daniel Rosenwasser 3e7e9f43ca Merge pull request #2415 from Microsoft/shorthandsOnNonExistentProperty
Fixed crash on goToDef when a shorthand property refers to an undefined entity
2015-03-18 18:31:54 -07:00
Daniel Rosenwasser d06f71ef9c Merge pull request #2413 from Microsoft/constAntlyAPainForUs
Fix getOccurrences for 'const' modifier with exported & ambient declarations
2015-03-18 16:08:34 -07:00
Daniel Rosenwasser 3b453e68c8 Extended test. 2015-03-18 16:03:33 -07:00
Daniel Rosenwasser 773530c699 Fixed test. 2015-03-18 14:43:07 -07:00
Daniel Rosenwasser 2902aa2ba3 Added tests. 2015-03-18 14:21:17 -07:00
Daniel Rosenwasser 355dcd11c8 Merge pull request #2396 from Microsoft/completionsInIncompleteConstructs
Better completions in incomplete constructs
2015-03-18 14:11:05 -07:00
Daniel Rosenwasser 9a507fa5bf Fixed test. 2015-03-18 14:06:58 -07:00
Daniel Rosenwasser ce3a91c186 Added tests for const modifiers. 2015-03-18 13:55:09 -07:00
Daniel Rosenwasser e82ea7df0f Added test for completions at beginning of file. 2015-03-18 12:12:57 -07:00
Vladimir Matveev 8afde73e0b drop interned indentation prefixes if format options has changed 2015-03-17 16:34:13 -07:00
Daniel Rosenwasser e49fc058b0 Added tests. 2015-03-17 13:33:01 -07:00
Daniel Rosenwasser 735452c80b Merge branch 'master' into completionsInIncompleteConstructs
Conflicts:
	src/services/formatting/smartIndenter.ts
	src/services/services.ts
2015-03-17 12:39:37 -07:00
Daniel Rosenwasser 7a716d9d42 Start handling element access expressions. 2015-03-17 12:27:59 -07:00
Daniel Rosenwasser 754a8a617c More cases and tests for them. 2015-03-17 12:21:35 -07:00
Daniel Rosenwasser 122721005b Merge pull request #2385 from Microsoft/completeIsCompleteNode
More thorough node completed-ness checking
2015-03-17 11:35:26 -07:00
Daniel Rosenwasser ad084ded72 Account for typeof expressions, added test. 2015-03-17 08:07:40 -07:00
Daniel Rosenwasser f2a7367e9b Added index signature case. 2015-03-17 07:50:15 -07:00
Daniel Rosenwasser 34a3fc4f78 Fixed up more tests. 2015-03-17 00:44:13 -07:00
Daniel Rosenwasser c30b71db2c Removed negations from test. 2015-03-17 00:41:09 -07:00
Daniel Rosenwasser f1d5582a69 Fixed missing marker. 2015-03-17 00:39:46 -07:00
Daniel Rosenwasser 92955a8f8d Fixed up tests. 2015-03-17 00:32:57 -07:00
Daniel Rosenwasser 8eae639a94 Added tests for #1410. 2015-03-17 00:16:53 -07:00
Daniel Rosenwasser 693da9a6df Added tests. 2015-03-17 00:16:50 -07:00
Daniel Rosenwasser 88adb8fbb4 Added tests for completions before a new scope.
Tests for #2292.
2015-03-17 00:16:47 -07:00
Daniel Rosenwasser 577c12e42e Added accumulated tests. 2015-03-16 23:19:21 -07:00
Daniel Rosenwasser 3eea65512c Rename tests. 2015-03-16 22:13:55 -07:00
Daniel Rosenwasser a7f57cbe41 Indentation within binding patterns.
Fixes #2380.
2015-03-16 22:09:17 -07:00