Commit Graph

1307 Commits

Author SHA1 Message Date
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
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
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
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