Commit Graph

1319 Commits

Author SHA1 Message Date
Daniel Rosenwasser 686d1c60de A more complete isCompletedNode. 2015-03-16 21:33:39 -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
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