Commit Graph

1810 Commits

Author SHA1 Message Date
Daniel Rosenwasser cabc0fff11 Merge pull request #4442 from SaschaNaz/formatFunctionType
Format function type (and others)
2015-08-27 14:52:52 -07:00
SaschaNaz 96174ba1a7 adding tests 2015-08-27 22:59:10 +09:00
SaschaNaz b23215986c adding constructor/parenthesized type 2015-08-27 19:03:35 +09:00
SaschaNaz be97d03af0 union type rules 2015-08-27 18:26:00 +09:00
Daniel Rosenwasser 9f3c99e392 Don't assume the class declaration will occur first, and that it is *only* a class declaration. 2015-08-26 16:19:55 -07:00
SaschaNaz a74ca1801e adding rules, ParenthesizedType not yet 2015-08-27 03:33:36 +09:00
Yui T b9622780c2 Merge branch 'release-1.6' into fix3989
Conflicts:
	src/services/services.ts
2015-08-26 11:07:19 -07:00
SaschaNaz c0a87e9947 fixing function type formatting 2015-08-26 02:01:33 +09:00
Zhengbo Li ecaf16df4b Merge pull request #4283 from zhengbli/JsDocIntellisense2
Add Intellisense to JsDoc
2015-08-21 16:08:37 -07:00
zhengbli 582b0aa31e parse jsdoc param tag even without a param name 2015-08-21 13:07:41 -07:00
Jason Ramsay d1fa571113 replacing let with const 2015-08-20 15:17:04 -07:00
Jason Ramsay e6c4019671 Updating the internal toolsVersion from 1.5 -> 1.6 in shims.ts 2015-08-20 14:48:03 -07:00
Yui T bb7a132b0e Address code review 2015-08-20 09:25:02 -07:00
zhengbli d1253d56ac Added null checks 2015-08-19 20:47:02 -07:00
zhengbli b16536b60d CR feedback 2015-08-19 16:02:36 -07:00
Yui T 4c44de6c5f Write out type parameter in type alias in quick-info 2015-08-19 12:38:36 -07:00
Vladimir Matveev ffadce6335 always process imported modules in 'createProgram' to record module resolutions 2015-08-19 11:58:02 -07:00
Yui T c5d5155234 Add comment and prevent completion in type paramter of class expression 2015-08-17 22:02:45 -07:00
zhengbli 2a3867a742 CR feedback. Add more tests. 2015-08-17 15:35:27 -07:00
Vladimir Matveev b6b735c0f2 merge with master 2015-08-17 14:38:24 -07:00
Vladimir Matveev a88bfbd651 Merge branch 'master' into reuseAndCache 2015-08-17 14:36:17 -07:00
Mohamed Hegazy 96286e9400 Merge pull request #4330 from SaschaNaz/formatTsx
Fix JsxElement formatting
2015-08-17 11:57:45 -07:00
Yui T abc96936b5 Do not show completions in type parameter of type alias 2015-08-17 10:48:36 -07:00
SaschaNaz bcde56202e fix jsxelement formatting 2015-08-16 17:27:23 +09:00
Yui T c57adeda1f Fix null reference in type parametr of type alias 2015-08-15 17:02:08 -07:00
Vladimir Matveev 7e8cfa0859 allow transpiler to provide alternative names for dependencies 2015-08-14 13:00:41 -07:00
Mohamed Hegazy e34238cb92 Merge pull request #4305 from ToddThomson/SpaceWithinNonEmptyBrackets
Add Spacing for Nonempty Brackets Formatting Option
2015-08-13 15:00:13 -07:00
ToddThomson 0415cc7f68 Addresses PR comments
Removed all spaces from nonempty parenthesis in code for this PR.
Modified the input string for testing the
InsertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets option in the
fourslash test.
2015-08-13 14:06:56 -07:00
ToddThomson 9146d9bc2f Add Spacing for Nonempty Brackets Formatting Option
User formatting option to add single space after opening and before
closing nonempty brackets.
2015-08-13 11:56:35 -07:00
SaschaNaz f832bd20f2 fix class expression + expressionWithTypeArgument 2015-08-14 03:45:52 +09:00
zhengbli 9dac516b26 CR feedback 2015-08-13 11:06:36 -07:00
Vladimir Matveev 405db829a0 mismatch order of arguments 2015-08-12 13:55:41 -07:00
zhengbli 03ea38f31f Fix bugs and add support for @param expressions 2015-08-11 23:20:03 -07:00
zhengbli 5e9186b9ed Enable intellisense in jsDoc tag @type brackets 2015-08-11 21:40:37 -07:00
zhengbli 0b6aeeca9d Add JsDoc intellisense for JavaScript files 2015-08-11 20:18:05 -07:00
Vladimir Matveev 7c8da42230 Merge pull request #4279 from Microsoft/highlightRefsInOneDocument
keep only document highlights from the original file
2015-08-11 18:01:59 -07:00
Daniel Rosenwasser 9717427130 Merge pull request #4276 from SaschaNaz/typeAssertionFormattingFix
Fix generics/type-assertion formatting
2015-08-11 12:22:08 -07:00
Vladimir Matveev ce44d95115 keep only document highlights from the original file 2015-08-11 12:04:55 -07:00
SaschaNaz dfcc1e6944 fix generics/type-assertion formatting 2015-08-11 23:47:44 +09:00
Mohamed Hegazy bfa624c0c7 Merge pull request #4133 from Microsoft/addNewLineHelper
Add a helper for getting Newlines
2015-08-10 13:21:23 -07:00
zhengbli b3f0a2a2e4 Merge branch 'master' into JSDocCommentScaffolding 2015-08-10 12:55:45 -07:00
Arthur Ozga f9c82ea274 save files changed in refactoring 2015-08-07 14:24:30 -07:00
Arthur Ozga e9fa806c9f move helper and add capture of this 2015-08-07 14:01:07 -07:00
Vladimir Matveev a69b04145d delete entry from the cache when referenced file is removed, added tests 2015-08-06 16:23:21 -07:00
Tien Nguyen 3f3aea1380 Fix mistyped occurrence. 2015-08-06 16:17:19 -07:00
Vladimir Matveev 6455b8e59b merge with master 2015-08-06 16:14:51 -07:00
Arthur Ozga 3e59651152 simplified docParams 2015-08-06 16:13:28 -07:00
Ryan Cavanaugh 921dbb7043 Merge pull request #4099 from RyanCavanaugh/betterTsxCompletion
Offer JSX attribute intellisense between string-literal props
2015-08-06 15:42:50 -07:00
Arthur Ozga 6b1838caec change '*' to '-' in lists 2015-08-06 08:31:29 -07:00
Arthur Ozga 4ea3bb6485 Make 'predicate' optional and DRY 2015-08-05 16:22:27 -07:00