Commit Graph

625 Commits

Author SHA1 Message Date
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
Daniel Rosenwasser
686d1c60de A more complete isCompletedNode. 2015-03-16 21:33:39 -07:00
Mohamed Hegazy
ebcb86b077 enable navbar for export defaults
Conflicts:
	src/services/navigationBar.ts
2015-03-15 13:22:54 -07:00
CyrusNajmabadi
b38743c793 Merge pull request #2307 from Microsoft/sigHelpIndex
Compute consistent argument indices and counts for signature help.
2015-03-11 16:02:00 -07:00
Cyrus Najmabadi
42ae38ddcc Add failing test. 2015-03-11 14:44:32 -07:00
Vladimir Matveev
4b955ee91a added for* statements to isCompletedNode 2015-03-11 14:03:32 -07:00
Dick van den Brink
23f56dadfb Fixed tests due to lib.d.ts changes 2015-03-08 18:59:04 +01:00
Anders Hejlsberg
91e8b821ad Merge branch 'master' into exportDefault
Conflicts:
	src/compiler/checker.ts
	tests/baselines/reference/contextualTyping.js.map
	tests/baselines/reference/contextualTyping.sourcemap.txt
	tests/baselines/reference/out-flag.js.map
	tests/baselines/reference/properties.js.map
	tests/baselines/reference/recursiveClassReferenceTest.js.map
	tests/baselines/reference/sourceMap-FileWithComments.js.map
	tests/baselines/reference/sourceMap-FileWithComments.sourcemap.txt
	tests/baselines/reference/typeResolution.js.map
2015-03-04 06:39:10 -08:00
Cyrus Najmabadi
0afdedd4ec Use CRLF for line endings. 2015-03-02 14:41:44 -08:00
Anders Hejlsberg
74acbe97df Updating fourslash tests 2015-03-02 13:58:07 -08:00
Cyrus Najmabadi
11772e75a7 Simplify how catch clauses are represented in our AST. 2015-02-26 17:19:19 -08:00
Mohamed Hegazy
e9874a2a4f Merge pull request #2121 from Microsoft/importGotoDef
Support for goto def on new Import/Export syntax
2015-02-25 12:28:34 -08:00
Vladimir Matveev
f859d77d9e added tests 2015-02-24 16:11:43 -08:00
Mohamed Hegazy
bc4057af85 breakpoint support for new import/export syntax 2015-02-24 13:03:14 -08:00
Mohamed Hegazy
951f7cf31f Support navigateTo for new import/export syntax 2015-02-24 12:24:41 -08:00
Mohamed Hegazy
7b7d2b6006 Support navigation bar for new import/export syntax 2015-02-24 11:54:10 -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
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
Mohamed Hegazy
591df20105 Merge branch 'master' into findAllRefsForImports 2015-02-24 09:28:01 -08:00
Mohamed Hegazy
e93748ac58 Support find references on the new import/export syntax 2015-02-24 01:19:48 -08:00
Mohamed Hegazy
61e6b3258d Remove debugger statement 2015-02-24 01:18:31 -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
Mohamed Hegazy
6e8393046b Merge remote-tracking branch 'origin/master' into importGotoDef 2015-02-23 16:50:39 -08:00