1325 Commits

Author SHA1 Message Date
Cyrus Najmabadi
35040b9a85 Use 'let' in the services code. 2015-03-13 13:11:17 -07:00
Cyrus Najmabadi
d10a54c6b0 Use for-of in more places. 2015-03-13 10:36:29 -07:00
Cyrus Najmabadi
224de1db72 use for-of in more places. 2015-03-13 10:03:01 -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
05c2a3ef89 Add explanatory comments. 2015-03-11 15:30:33 -07:00
Cyrus Najmabadi
63ba645791 Remove unnecessary code. 2015-03-11 15:08:28 -07:00
Cyrus Najmabadi
d9d90b2c02 Compute consistent argument indices and counts for signature help. 2015-03-11 15:05:31 -07:00
Vladimir Matveev
4b955ee91a added for* statements to isCompletedNode 2015-03-11 14:03:32 -07:00
Vladimir Matveev
efcf0e6f57 introduce CaseBlock as a block-scoped container for switch statements 2015-03-10 17:50:54 -07:00
Bill Ticehurst
24141f05db Merge pull request #2245 from billti/ExportVersion
Made the 'version' string an exported property
2015-03-07 21:40:32 -08:00
Bill Ticehurst
a6816fc128 Added description to version exports 2015-03-07 20:12:16 -08:00
Cyrus Najmabadi
a76eb69996 Add an 'isVariableLike' helper function. 2015-03-06 18:45:45 -08:00
Anders Hejlsberg
5c56684187 Merge branch 'master' into exportDefault
Conflicts:
	tests/baselines/reference/exportAssignDottedName.errors.txt
2015-03-06 17:20:44 -08:00
Paul van Brenk
80f9cf299c fix check to allow for empty argument list 2015-03-06 15:09:19 -08:00
Paul van Brenk
8083bbf18f Merge branch 'master' into signatureHelp 2015-03-06 14:30:21 -08:00
Paul van Brenk
e9cb12aeab Add diagnostics for signaturehelp crash 2015-03-06 14:29:23 -08:00
Anders Hejlsberg
a87c45711f Renaming SymbolFlags.Import to SymbolFlags.Alias 2015-03-04 10:26:38 -08: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
Anders Hejlsberg
61167b68ba Fixing a few issues 2015-03-03 17:06:44 -08:00
Cyrus Najmabadi
c8399fc6c5 Use CRLF not LF. 2015-03-02 14:46:15 -08:00
Cyrus Najmabadi
e452cff5a7 Make fields internal. 2015-03-02 14:08:32 -08:00
Cyrus Najmabadi
08439b7a89 Expose a way to get the name table from the LS. 2015-03-01 15:42:23 -08:00
Cyrus Najmabadi
0cbe55ba4e Merge branch 'master' into intern 2015-03-01 15:33:47 -08:00
Cyrus Najmabadi
b58f16b021 Don't intern all strings and numbers. Just the ones used as declaration names. 2015-03-01 14:30:38 -08:00
Mohamed Hegazy
70d5f9c8e7 Merge pull request #2140 from Microsoft/lsImportResolution
Support new import / export syntax in preProcessFile
2015-02-28 05:03:03 -08:00
Mohamed Hegazy
0a8d0a5dd5 Merge branch 'master' into lsImportResolution 2015-02-27 15:38:32 -08:00
Mohamed Hegazy
7c2cc76986 Respond to code review comments 2015-02-27 15:38:24 -08:00
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
Anders Hejlsberg
0e8b6dfdf4 Support for 'export default' with expressions 2015-02-25 16:03:03 -08:00
Mohamed Hegazy
30cc1cc478 Add support for new import syntax in preprocessFile 2015-02-25 14:00:44 -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