Commit Graph

4133 Commits

Author SHA1 Message Date
Vladimir Matveev caabb7d99b added completion for exports in named imports section 2015-02-24 15:37:13 -08:00
Vladimir Matveev 6055dea93e replace -1 in SmartIndenter with const enum 2015-02-24 12:41:54 -08:00
jramsay 2e86eedfbc Merge pull request #2122 from Microsoft/getDefaultLibFileNameFix
Wrap getDefaultLibFileName API changes in a try/catch until TypeScript 1...
2015-02-24 10:24:27 -08:00
Vladimir Matveev 4065ebfd63 Merge pull request #2107 from Microsoft/destructuring_classElements
do not include constructor parameters with binding patterns as names whe...
2015-02-24 10:18:39 -08:00
Vladimir Matveev 10298c80ca Merge pull request #2108 from Microsoft/formattingInDestructuring
Formatting in destructuring
2015-02-24 10:18:29 -08:00
Jason Ramsay a16a95536b Wrap getDefaultLibFileName API changes in a try/catch until TypeScript 1.5 has shipped. 2015-02-24 10:08:37 -08:00
Vladimir Matveev 545e8f457e Merge pull request #2117 from Microsoft/formattingTabsInMultilineComments
use character instead of column when formatting multiline comments with ...
2015-02-24 09:57:14 -08:00
Vladimir Matveev 3119839d55 addressed CR feedback 2015-02-23 22:21:03 -08:00
Vladimir Matveev 55dafb51e3 Merge pull request #2110 from Microsoft/formattingQMark
Add space after '?' only for conditional operators
2015-02-23 21:19:37 -08:00
CyrusNajmabadi d1df797918 Merge pull request #2120 from Microsoft/mochaColors
Add support for printing colors to the command line when running mocha!
2015-02-23 16:47:28 -08:00
CyrusNajmabadi 34bd2987ea Merge pull request #2119 from Microsoft/fixFailingTest
Fix failing test.
2015-02-23 16:30:11 -08:00
Cyrus Najmabadi 6de19a1014 Add support for printing colors to the command line when running mocha! 2015-02-23 16:16:26 -08:00
Cyrus Najmabadi a3ad3c01ac Fix failing test. 2015-02-23 16:05:04 -08:00
CyrusNajmabadi 5141f1d4c9 Merge pull request #2111 from Microsoft/navToPatternMatcher
Move NavigateTo over to using the new pattern matcher.
2015-02-23 16:01:23 -08:00
CyrusNajmabadi 09e3cd625a Merge pull request #2104 from Microsoft/arrowFunctionEmit
Emit arrow functions with expression bodies 'as is' when targetting ES6 ...
2015-02-23 16:01:12 -08:00
CyrusNajmabadi e26de71d9c Merge pull request #2109 from Microsoft/sideEffects
Emit downlevel parameter initializers unless we are certain they don't have any side effects.
2015-02-23 15:43:56 -08:00
CyrusNajmabadi eaba1804f0 Merge pull request #1971 from Microsoft/commaSeparator
Allow commas as a separator between object/interface type members.
2015-02-23 15:43:41 -08:00
Cyrus Najmabadi f90f8e8061 CR feedback. 2015-02-23 15:41:43 -08:00
Jason Freeman 50f9ce4aed Merge pull request #2083 from Microsoft/iterators
Split Iterator into Iterator and IterableIterator in es6.d.ts
2015-02-23 15:24:07 -08:00
Vladimir Matveev db5b1b387c use character instead of column when formatting multiline comments with tabs 2015-02-23 14:30:25 -08:00
Ron Buckton a27d19dde7 Merge pull request #2116 from Microsoft/fix-autoCollapse
Fixes overly-aggressive auto-collapse for "Collapse to Definitions"
2015-02-23 14:30:06 -08:00
Cyrus Najmabadi cfe3bb8f8d Merge branch 'master' into sideEffects
Conflicts:
	tests/baselines/reference/recursiveClassReferenceTest.js.map
2015-02-23 14:00:56 -08:00
Jason Freeman 7711a454dd [Symbol.iterator] of a Generator is a Generator 2015-02-23 13:53:25 -08:00
Jason Freeman a66cdf87e8 Merge branch 'master' of https://github.com/Microsoft/TypeScript into iterators 2015-02-23 13:51:16 -08:00
Ron Buckton 5bf919704f Fixes overly-aggressive auto-collapse for "Collapse to Definitions" 2015-02-23 13:07:12 -08:00
Anders Hejlsberg 4aae41b996 Merge pull request #1983 from Microsoft/es6Import
Support ES6 import and export declarations
2015-02-23 13:04:00 -08:00
Cyrus Najmabadi f46cb896a8 Be more conservative on when we'll emit a function in a single line. 2015-02-23 12:31:40 -08:00
steveluc b0c522d0d0 Add missed file from addNavtoLimit branch. 2015-02-23 12:06:07 -08:00
Steve Lucco 7df14c13fc Merge pull request #2106 from Microsoft/addNavtoLimit
Add maxResultCount optional field to NavtoRequestArgs.  Change
2015-02-23 11:57:16 -08:00
Mohamed Hegazy 67f67dd34f Merge pull request #1989 from Microsoft/hostCache
Simplify updating the host cache for syntactic LS features
2015-02-23 11:40:51 -08:00
Anders Hejlsberg 27529f1d38 Addressing CR feedback 2015-02-23 11:23:40 -08:00
Anders Hejlsberg f0f4ca6b06 Merge branch 'master' into es6Import
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/emitter.ts
	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
	tests/baselines/reference/recursiveClassReferenceTest.js.map
	tests/baselines/reference/recursiveClassReferenceTest.sourcemap.txt
2015-02-23 11:15:56 -08:00
Mohamed Hegazy e50445318a Merge branch 'master' into hostCache 2015-02-23 11:12:26 -08:00
CyrusNajmabadi 64dd747c0e Merge pull request #2112 from Microsoft/lkg
Update LKG.
2015-02-23 00:05:19 -08:00
steveluc 47d265b20b Changed no content action for completions from exception to error message. 2015-02-22 23:33:35 -08:00
steveluc f9518b252b Added update of project structure on idle following change (if no
changes in last s seconds (where s is currently 1.5), then check project
structure to account for references that may have changed.  Turned this
off pending fix for getScriptFileNames returning only the root names.
Added event handler for deleted file, so that session can update error
messages upon deletion of a file from a project.
2015-02-22 23:27:45 -08:00
Cyrus Najmabadi 4b096b7984 Update LKG. 2015-02-22 23:26:26 -08:00
Cyrus Najmabadi 42530a7b83 Update LKG. 2015-02-22 23:20:26 -08:00
Vladimir Matveev e549f2f0af renamed QMark to QuestionMark 2015-02-22 22:34:59 -08:00
Cyrus Najmabadi 441735a9d3 CR feedback 2015-02-22 21:56:10 -08:00
Cyrus Najmabadi fd1b5875e2 Move NavigateTo over to using the new pattern matcher. 2015-02-22 21:25:43 -08:00
Cyrus Najmabadi 8d0dc91d64 CR feedback. 2015-02-22 20:51:34 -08:00
Vladimir Matveev a25c99e146 added missing test 2015-02-22 19:02:48 -08:00
Vladimir Matveev 9f28e88ff1 insert space after '?' only in conditional operator 2015-02-22 19:01:26 -08:00
Cyrus Najmabadi 53ed427e0d Emit parameter initializers unless we are certain they don't have any side effects. 2015-02-22 18:01:57 -08:00
Vladimir Matveev b8a1712688 include binding element with initializer to current formatting rule for binary operator, adjust existing SpaceBeforeOpenBraceInFunction rule to recognize blocks 2015-02-22 16:44:26 -08:00
Vladimir Matveev ea09299d1e added rule to insert space after let\const in variable declaration context 2015-02-22 16:15:54 -08:00
Vladimir Matveev 11f589f03b do not include constructor parameters with binding patterns as names when collecting nav bar items 2015-02-22 15:06:58 -08:00
CyrusNajmabadi a2d0d5908e Merge pull request #1998 from Microsoft/newLineClassification
Classify newlines as whitespace in the classifier.
2015-02-22 05:24:23 -08:00
Cyrus Najmabadi 6893a2ccaa Merge branch 'master' into newLineClassification 2015-02-22 04:40:33 -08:00