Commit Graph

1459 Commits

Author SHA1 Message Date
Mohamed Hegazy 4e42054277 Fix #2725: Add check for parent before using it 2015-04-13 16:28:06 -07:00
Mohamed Hegazy b416bf2d80 move check outside switch statement 2015-04-13 12:20:25 -07:00
Guillaume Salles 7119165bd0 Fix issue #2677 : Labels should not get quick info 2015-04-12 16:04:32 -04:00
Mohamed Hegazy 13ef271831 use @internal comment consistenlly 2015-04-10 16:32:02 -07:00
Mohamed Hegazy 431dce7b84 Merge branch 'master' into APIReviewCleanup
Conflicts:
	src/services/outliningElementsCollector.ts
2015-04-10 16:11:03 -07:00
Mohamed Hegazy f231d6aba8 Merge pull request #2700 from Microsoft/removeOptionalTypeOnExportDefault
Remove optional type on export default
2015-04-10 15:31:31 -07:00
Cyrus Najmabadi 024d653efc Rename type. 2015-04-09 22:27:18 -07:00
Ron Buckton f318515f70 Merge pull request #2664 from Microsoft/fixDecoratorFormatting
Fixes some formatting for decorators
2015-04-09 17:42:56 -07:00
ahmad-farid 01d945b18b Merge pull request #2612 from ahmad-farid/OCNoTest2
Adding outlining for comments to allow collapsing in VS #698
2015-04-09 17:35:25 -07:00
Mohamed Hegazy a5a83c1cf7 Merge branch 'master' into removeOptionalTypeOnExportDefault 2015-04-09 16:35:14 -07:00
Mohamed Hegazy afe35c810a Revert "Support an optional type annotation on export default statement"
This reverts commit a6a8a96249.
2015-04-09 16:32:23 -07:00
Ahmad Farid a34801f30b merging with master 2015-04-09 16:05:06 -07:00
Cyrus Najmabadi fc512b284b Use modules with const members. 2015-04-09 15:11:26 -07:00
Cyrus Najmabadi 9627746ba9 Add the 'none' kind. 2015-04-09 14:49:00 -07:00
Cyrus Najmabadi 73121ce451 Distinguish written vs read references. 2015-04-09 14:37:21 -07:00
Mohamed Hegazy 1c91c2c5d0 Mark non-public API surface with the /* @internal */ comment 2015-04-09 14:18:14 -07:00
Cyrus Najmabadi 585c6aaf65 CR feedback. 2015-04-08 23:24:51 -07:00
Cyrus Najmabadi 575ce27119 Allow the host to indicate which files it would like highlighting spans for. 2015-04-08 23:16:16 -07:00
Cyrus Najmabadi e5d0ffab15 Use the fileName that is in scope. 2015-04-08 22:28:40 -07:00
Cyrus Najmabadi 0d233fdd17 No need to tweak spans in syntactic highlights. 2015-04-08 22:26:34 -07:00
Cyrus Najmabadi 02778b19b4 Get semantic document highlights as well through the new API. 2015-04-08 22:24:59 -07:00
Cyrus Najmabadi 6dee32a703 Extract code for getting syntactic document highlights into its own function. 2015-04-08 21:59:50 -07:00
Ron Buckton 609036a2d6 PR feedback and baseline updates 2015-04-08 17:06:00 -07:00
Ron Buckton eec39c2fc5 Additional rule for spacing between decorator on same line as its declaration 2015-04-07 17:23:52 -07:00
Ron Buckton 1a1bb34864 Added rules for spacing around decorators, computing the undecorated start line of a node 2015-04-07 16:15:02 -07:00
Mohamed Hegazy ccb562385d Use sys.newLine in transpile when possibel 2015-04-06 14:05:44 -07:00
Ahmad Farid 7fcbb8c9a0 adding unit tests fot block comments outlining 2015-04-03 19:21:27 -07:00
Ahmad Farid 5543d5456c removing extra reference header 2015-04-03 14:11:18 -07:00
Ahmad Farid d94c7bf978 Merge branch 'master' of https://github.com/Microsoft/TypeScript into outlineComments 2015-04-02 16:55:03 -07:00
Ahmad Farid 64fbf94940 outlinging comments v0.2 2015-04-02 16:23:22 -07:00
Paul van Brenk 548e33c663 Merge branch 'master' into spelling 2015-04-02 15:37:37 -07:00
Paul van Brenk 0bf65e4c67 Fix annoying spellin errors. 2015-04-02 15:36:45 -07:00
Cyrus Najmabadi 5ecfafd32b PR feedback. 2015-04-02 15:14:41 -07:00
Cyrus Najmabadi 0f079632b9 PR feedback. 2015-04-02 14:58:43 -07:00
Ahmad Farid 27f349ca7d outlining Comments v0.1 4/2 2015-04-02 14:38:22 -07:00
Cyrus Najmabadi 6f250703ff Merge branch 'master' into JSLS
Conflicts:
	src/services/services.ts
2015-04-02 14:22:16 -07:00
CyrusNajmabadi 35d8536c75 Merge pull request #2588 from Microsoft/classExpr
Class declarations should be block scoped.
2015-04-02 14:13:25 -07:00
CyrusNajmabadi feabcd044b Merge pull request #2522 from Microsoft/visitWorkaround
Use a function declaration vs a function expression to help deal with a reported Atom+IO.js issue.
2015-04-02 13:30:43 -07:00
unknown ba8be9eef4 Support classes without names in our AST. Report any issues with this at 'check' time. 2015-04-01 17:20:20 -07:00
Daniel Rosenwasser 17b790b479 Merge branch 'master' into transitiveExports 2015-04-01 12:00:50 -07:00
Mohamed Hegazy f75c1dd7b6 Merge branch 'master' into exportDefaultReference
Conflicts:
	src/compiler/utilities.ts
2015-03-31 21:35:21 -07:00
Mohamed Hegazy 0c5d736251 Respond to code review remarks 2015-03-31 21:17:24 -07:00
Cyrus Najmabadi 3430903440 Merge branch 'master' into JSLS 2015-03-31 18:57:56 -07:00
Cyrus Najmabadi 72d23c7937 Remove unnecessary code. 2015-03-31 17:48:07 -07:00
Cyrus Najmabadi 1385d9b50c Merge branch 'master' into JSLS
Conflicts:
	src/services/services.ts
2015-03-31 17:40:56 -07:00
Cyrus Najmabadi ee3ba3bf75 CR feedback. 2015-03-31 17:23:52 -07:00
Cyrus Najmabadi 478ac3d3ef Merge branch 'master' into classExpressions 2015-03-31 14:53:39 -07:00
Vladimir Matveev f239bbc3b1 Merge pull request #2550 from Microsoft/separateCompilation
Relax import/export elision rules for separate compilation
2015-03-31 14:51:39 -07:00
Cyrus Najmabadi a1e18fc22b Introduce a new HeritageClauseElment type.
This type represents the expression+type arguments you can get in a class or interface
heritage clause section.  For class-implements clauses, or interface-extends clauses,
these expressions can only be identifiers or dotted names.  For class extends clauses,
these could be any expressions in the future.  However, for now, we only support identifiers
and dotted names.
2015-03-31 12:29:02 -07:00
Vladimir Matveev 955b4c0589 addressed CR feedback 2015-03-30 21:36:06 -07:00