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
steveluc
f19619e22b
Add maxResultCount optional field to NavtoRequestArgs. Change
...
session.ts to use this field. Remove sort of nav items from getNavigateToItems in
sesion.ts because LS now does the sort. Removed no content throw in
quick info as this happens frequently with Sublime (every cursor move
calls quick info, and quick info is only available on symbols). Added
mechanism for other commands to avoid throwing and instead return a
specific error message, so that we don't make the log unreadable (as it
was with hundreds of quick info stack traces).
2015-02-22 00:44:14 -08:00
Anders Hejlsberg
60a6b2816a
Merge pull request #2101 from Microsoft/restElementNull
...
Fix crash on rest element destructuring with null initializer
2015-02-21 19:46:35 -08:00
Anders Hejlsberg
ca92653aba
Addressing CR feedback
2015-02-21 19:33:53 -08:00
CyrusNajmabadi
11944be1b4
Merge pull request #1975 from Microsoft/multiLineEmit2
...
Provide specialized functions for emitting the body of a function depending on if that body is an expression or a block.
2015-02-21 17:01:19 -08:00
Cyrus Najmabadi
b99d70c212
Preserve newlines between object literal members.
2015-02-21 15:11:37 -08:00
Cyrus Najmabadi
740f7bb4bf
Merge branch 'master' into multiLineEmit2
2015-02-21 15:01:09 -08:00
Cyrus Najmabadi
a228cb568c
Merge branch 'master' into multiLineEmit2
...
Conflicts:
tests/baselines/reference/computedPropertyNames11_ES5.js
tests/baselines/reference/computedPropertyNames1_ES5.js
tests/baselines/reference/computedPropertyNamesContextualType1_ES5.js
tests/baselines/reference/computedPropertyNamesContextualType2_ES5.js
tests/baselines/reference/computedPropertyNamesContextualType3_ES5.js
tests/baselines/reference/computedPropertyNamesDeclarationEmit5_ES5.js
2015-02-21 15:00:23 -08:00
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
23e66303fa
Update tests.
2015-02-21 14:43:45 -08:00
Cyrus Najmabadi
d928baf9d4
Merge branch 'master' into multiLineEmit2
...
Conflicts:
src/compiler/emitter.ts
tests/baselines/reference/computedPropertyNames32_ES5.js
tests/baselines/reference/computedPropertyNames33_ES6.js
tests/baselines/reference/computedPropertyNames34_ES6.js
tests/baselines/reference/computedPropertyNames35_ES5.js
tests/baselines/reference/privateIndexer2.js
2015-02-21 14:37:54 -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
Anders Hejlsberg
95b3d6be58
Adding test
2015-02-21 12:41:20 -08:00
Anders Hejlsberg
a21460ff75
Fix crash on destructuring null or undefined into rest element
2015-02-21 12:35:02 -08:00
CyrusNajmabadi
7393cf46b9
Merge pull request #2098 from Microsoft/sortNavigateToItems
...
Sort navigate to items by name, after sorting by kind.
2015-02-21 01:34:39 -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
b29fba4602
Preserve newlines and indentation for binary expressions when possible.
2015-02-20 21:53:44 -08:00
Cyrus Najmabadi
8c90fc6bc8
Merge branch 'master' into binaryExpressionEmit
...
Conflicts:
src/compiler/checker.ts
2015-02-20 21:28:15 -08:00
Daniel Rosenwasser
553f2f0974
Merge pull request #1950 from Microsoft/thanksLua
...
ES3/ES5 emit support for computed properties
2015-02-20 19:00:48 -08:00
CyrusNajmabadi
2d99c2dc62
Merge pull request #2055 from Microsoft/baseZero
...
Move all our document line/character APIs to be zero-based.
2015-02-20 18:57:58 -08:00
Cyrus Najmabadi
fc229368d1
Include the binary expression's operator in the AST.
2015-02-20 18:56:42 -08:00
Daniel Rosenwasser
4138fed1d7
Fixed case where property should not be emitted.
2015-02-20 18:42:07 -08:00
Daniel Rosenwasser
bebdd73e13
Extracted out RHS patching property logic to function.
2015-02-20 18:16:52 -08:00
Daniel Rosenwasser
88c61e89a8
Addressed CR comments.
2015-02-20 18:02:14 -08:00
Cyrus Najmabadi
eb5936b06f
Merge branch 'master' into baseZero
...
Conflicts:
src/harness/harnessLanguageService.ts
2015-02-20 16:56:58 -08:00
Daniel Rosenwasser
93c6ac0916
This is why we need an IO type constructor.
2015-02-20 16:54:07 -08:00
Daniel Rosenwasser
ec678f3ebd
Merge branch 'master' into thanksLua
...
Conflicts:
src/compiler/emitter.ts
tests/baselines/reference/computedPropertyNames12_ES5.errors.txt
tests/baselines/reference/computedPropertyNames14_ES5.errors.txt
tests/baselines/reference/computedPropertyNames15_ES5.errors.txt
tests/baselines/reference/computedPropertyNames17_ES5.errors.txt
tests/baselines/reference/computedPropertyNames32_ES5.errors.txt
tests/baselines/reference/computedPropertyNames35_ES5.errors.txt
tests/baselines/reference/computedPropertyNames3_ES5.errors.txt
tests/baselines/reference/computedPropertyNames42_ES5.errors.txt
tests/baselines/reference/computedPropertyNames5_ES5.errors.txt
tests/baselines/reference/computedPropertyNames6_ES5.errors.txt
tests/baselines/reference/computedPropertyNames8_ES5.errors.txt
tests/baselines/reference/computedPropertyNames9_ES5.errors.txt
tests/baselines/reference/computedPropertyNamesDeclarationEmit3_ES5.errors.txt
tests/baselines/reference/computedPropertyNamesDeclarationEmit4_ES5.errors.txt
tests/baselines/reference/computedPropertyNamesOnOverloads_ES5.errors.txt
2015-02-20 16:44:20 -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
Daniel Rosenwasser
78425d6e0f
Removed unused text-concatenating emit.
2015-02-20 14:17:26 -08:00
Daniel Rosenwasser
51129a704d
Rewrite the tree instead of hacking text together for downlevel object literals with computed properties.
2015-02-20 14:16:09 -08:00
Cyrus Najmabadi
128295dea9
CR feedback.
2015-02-20 13:55:45 -08:00
Jason Freeman
791e91351c
Merge pull request #2086 from Microsoft/ofKeywordClassification
...
Of keyword classification
2015-02-20 12:29:41 -08:00
Jason Freeman
580d0a6331
More tests
2015-02-20 12:15:37 -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
Vladimir Matveev
de967ac191
Merge pull request #2092 from Microsoft/formattingMultilineTemplateLiterals_regressionTest
...
regression test for formatting multiline template literals
2015-02-19 23:53:35 -08:00
Vladimir Matveev
14d0810fdf
added regression test for formatting multiline template literals
2015-02-19 22:37:06 -08:00
Jason Freeman
bf436543b9
Add a test
2015-02-19 17:17:04 -08:00
Daniel Rosenwasser
0fd783f3ef
Don't emit accessors multiple times.
2015-02-19 17:04:32 -08:00
Jason Freeman
2928449bbe
Accept baselines
2015-02-19 16:43:45 -08:00
Jason Freeman
0d09dd5948
Make LastToken point to OfKeyword
2015-02-19 16:43:28 -08:00
Cyrus Najmabadi
990bbb2dce
CR feedback to use template strings.
2015-02-19 15:52:37 -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
Yui
fa85b22962
Merge pull request #2079 from Microsoft/increaseRWCTimeout
...
Increase RWC timeout
2015-02-19 14:30:04 -08:00
Yui T
c6b50cde27
Merge branch 'master' into increaseRWCTimeout
2015-02-19 14:29:44 -08:00