Cyrus Najmabadi
604c37eee2
Whenever a document is acquired, make sure it returns a source that corresponds to the version requested.
2015-02-27 15:29:31 -08:00
Cyrus Najmabadi
505c1f258f
Update comment.
2015-02-27 13:45:29 -08:00
Cyrus Najmabadi
f23c79f3ae
Fix issue where source files could get corrupted.
...
This could happen when you had multiple language services, and they were sharing some files.
If a file got edited in one LS, it could get corrupted in the other. Now, the DocumentRegistry
serves as the canonical source of 'good' source files. Language services always go to it to get
the correct source file instead of trying to manually update their own source files when they
are notified about changes from the host.
2015-02-27 13:39:57 -08:00
Cyrus Najmabadi
9125aa5192
Rename method.
2015-02-26 17:26:33 -08:00
Cyrus Najmabadi
81b6588059
Make isDeclaration return 'true' on FunctionExpressions.
2015-02-26 16:11:27 -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
eb09401df7
Merge pull request #2134 from Microsoft/completionForExports
...
Completion for exports
2015-02-24 18:46:04 -08:00
Vladimir Matveev
0d781d8b29
addressed CR feedback
2015-02-24 18:31:53 -08:00
Vladimir Matveev
92dddd099a
added missing return, accepted test baselines
2015-02-24 17:08:55 -08:00
Vladimir Matveev
f74a45feae
dropped extra newlines
2015-02-24 16:14:37 -08:00
Vladimir Matveev
e8830f913c
added missing declaration kinds to getMeaningForDeclaration
2015-02-24 16:11:15 -08:00
Vladimir Matveev
caabb7d99b
added completion for exports in named imports section
2015-02-24 15:37:13 -08:00
Mohamed Hegazy
d3305b1219
delete unused files
2015-02-24 13:24:33 -08:00
Mohamed Hegazy
bc4057af85
breakpoint support for new import/export syntax
2015-02-24 13:03:14 -08:00
Vladimir Matveev
6055dea93e
replace -1 in SmartIndenter with const enum
2015-02-24 12:41:54 -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
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
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
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
Mohamed Hegazy
6e8393046b
Merge remote-tracking branch 'origin/master' into importGotoDef
2015-02-23 16:50:39 -08:00
Mohamed Hegazy
bb349dafcc
Add a comment
2015-02-23 16:50:16 -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
Mohamed Hegazy
87500959f0
Merge remote-tracking branch 'origin/master' into importGotoDef
2015-02-23 15:43:43 -08:00
Mohamed Hegazy
ce6681cc93
Support GetDefinitionLocation on module names and aliases for new import/export syntax
2015-02-23 15:43:20 -08:00
Cyrus Najmabadi
f90f8e8061
CR feedback.
2015-02-23 15:41:43 -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
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
Mohamed Hegazy
a47c7abbdf
Merge branch 'master' into es6Import
2015-02-23 11:56:36 -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
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
Vladimir Matveev
9f28e88ff1
insert space after '?' only in conditional operator
2015-02-22 19:01:26 -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
Cyrus Najmabadi
25ed0202e4
Merge branch 'master' into newLineClassification
2015-02-21 17:30:05 -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
c7f260f5e3
Merge branch 'master' into newLineClassification
...
Conflicts:
src/services/services.ts
2015-02-21 14:45:19 -08:00