Commit graph

1436 commits

Author SHA1 Message Date
Yui
ceab31cf0d Port PR #10016 to Master (#10100)
* Treat namespaceExportDeclaration as declaration

* Update baselines

* wip - add tests

* Add tests

* Show "export namespace" for quick-info
2016-08-05 10:12:01 -07:00
Ryan Cavanaugh
6caa2611cb Merge pull request #10054 from SaschaNaz/jsxopening
Format JSX opening element
2016-08-01 15:50:43 -07:00
Kagami Sascha Rosylight
5c4c997efa jsx opening element formatting 2016-08-01 00:35:34 +09:00
Andy
c6960303db Merge pull request #9984 from Microsoft/node_kind
Unify nodeKind implementations for navigationBar and navigateTo
2016-07-29 08:19:07 -07:00
Andy Hanson
38e201eb7d Fix test and rename a function 2016-07-27 07:46:39 -07:00
Andy Hanson
30761ef659 Unify nodeKind implementations for navigationBar and navigateTo 2016-07-27 06:31:56 -07:00
Anders Hejlsberg
ff0cbb5b29 Merge branch 'master' into literalTypes
# Conflicts:
#	src/compiler/checker.ts
2016-07-24 07:28:11 -07:00
Anders Hejlsberg
835645c5ec Fix fourslash test 2016-07-23 09:29:49 -07:00
Yui
bd25c130ca Port PR 9745 to master (#9881)
* Add completion for quote property name in object literal expression

* Add fourslash tests for completion of quoted property in object literal expression

* Handle object-literal expression as an argument

Undo wip

Undo wip

Conflicts:
	src/services/services.ts

* Add tests and baseline for object literal expression for arguments
2016-07-22 07:15:12 -07:00
Daniel Rosenwasser
82de93236e Merge branch 'master' into tsaImmutable 2016-07-20 17:29:38 -07:00
Anders Hejlsberg
1868f2ec83 Remove bizarre fourslash test 2016-07-19 07:18:55 -07:00
Anders Hejlsberg
a2c4176ea8 Fix fourslash test 2016-07-19 07:18:35 -07:00
Anders Hejlsberg
15a66676cc Fix fourslash tests 2016-07-18 17:14:34 -07:00
Anders Hejlsberg
cb27e54ba7 Fix fourslash test 2016-07-18 11:15:19 -07:00
Zhengbo Li
9eeb69dfbc Merge pull request #9621 from zhengbli/fixJSDocPropertyTag
fix the issue that @property types are not recoganized
2016-07-13 11:32:36 -07:00
Andy Hanson
5d37c29dbb Handle JSX bodies in formatter 2016-07-12 09:45:55 -07:00
zhengbli
73f741418f fix the issue that @property types are not recoganized 2016-07-11 13:01:05 -07:00
Daniel Rosenwasser
348a4e9689 Fixed up tests that used 'string[]' instead of 'TemplateStringsArray'. 2016-07-08 17:39:51 -07:00
Mohamed Hegazy
1102fa6bae Merge pull request #9420 from Microsoft/formatting_loc
Do not scan nodes preceding formatted region, just skip over them
2016-07-05 14:40:48 -07:00
Zhengbo Li
494fada879 Merge pull request #9426 from zhengbli/fix9411
Add nullcheck when calculating indentations for implort clause
2016-06-30 14:21:11 -07:00
Andy Hanson
fee06acf84 Better name for test 2016-06-30 09:21:08 -07:00
Andy Hanson
0535d55a97 Show "<unknown>" if the name of a declaration is unavailable 2016-06-30 06:38:18 -07:00
zhengbli
adca77003e Add test 2016-06-29 16:00:11 -07:00
Andy Hanson
0a61334677 Do not scan nodes preceding formatted region, just skip over them 2016-06-29 08:39:36 -07:00
Zhengbo Li
50177b14d0 Merge pull request #9396 from zhengbli/fix9186
Check getCurrentDirectory availability in getEffectiveTypeRoots
2016-06-28 13:01:51 -07:00
Mohamed Hegazy
ec020776c2 Merge pull request #9361 from SaschaNaz/noFormatInJsxElement
Fix formatting on JsxElement/JsxExpression
2016-06-28 12:13:10 -07:00
zhengbli
6ff91b84ab Add getCurrentDirectory to ServerHost 2016-06-28 11:53:30 -07:00
Bill Ticehurst
8bf3d54524 Merge pull request #7075 from Microsoft/loadJsFromModules
Load JavaScript modules from Node packages
2016-06-27 18:42:12 -07:00
Kagami Sascha Rosylight
cbfbfe1aa6 make rules optional 2016-06-27 16:04:53 +09:00
Bill Ticehurst
0174bda004 Merge branch 'master' into loadJsFromModules 2016-06-26 23:24:26 -07:00
Kagami Sascha Rosylight
378c6b5fc7 format jsx expression 2016-06-26 15:17:05 +09:00
Kagami Sascha Rosylight
9dfcb4419c do not format comma/closeparen in jsxelement 2016-06-25 19:23:46 +09:00
Kagami Sascha Rosylight
a8ac0efc1b Merge branch 'master' of https://github.com/Microsoft/TypeScript into fixExportImportFormatting 2016-06-25 17:57:55 +09:00
Kagami Sascha Rosylight
335737973e Merge branch 'master' of https://github.com/SaschaNaz/TypeScript into fixExportImportFormatting 2016-06-25 17:53:46 +09:00
Paul van Brenk
cca7000032 Merge pull request #9342 from Microsoft/typoinbracecompletion
Fix typo
2016-06-24 14:41:10 -07:00
jramsay
8312168e91 Merge pull request #9236 from Microsoft/BaseIndentationSupport
[Salsa] Adding base indentation for script block formatting and smart indent
2016-06-24 14:22:58 -07:00
Jason Ramsay
8c503207be Add fourslash tests & address CR comments 2016-06-24 13:16:58 -07:00
Andy Hanson
6a60d8bb90 Merge branch 'master' into range_tests 2016-06-24 09:17:57 -07:00
Andy Hanson
6bc8db031c Remove unnecessary parameter 2016-06-24 09:16:39 -07:00
Andy
999ac0add3 Merge pull request #9270 from Microsoft/this_references
Allow to find all references of the 'this 'keyword
2016-06-24 06:24:12 -07:00
Paul van Brenk
6346fc1168 Fix typo 2016-06-23 17:36:59 -07:00
Andy Hanson
1aafc553dd Change reference tests to verify actual ranges referenced and not just their count 2016-06-23 10:48:35 -07:00
Bill Ticehurst
d01d5b1cb2 Updated tests 2016-06-21 13:51:31 -07:00
Bill Ticehurst
4d4f679ec4 Merge branch 'master' into loadJsFromModules 2016-06-21 09:03:38 -07:00
Andy Hanson
07437a6e7c Make goto-definition work for this parameter 2016-06-21 05:56:18 -07:00
Andy
4d5d152788 Merge pull request #9220 from Microsoft/navbar_refactor_3000
Refactor navigation bar
2016-06-20 13:16:40 -07:00
Andy Hanson
c0eb472b62 Classify this in parameter position as a keyword 2016-06-20 08:28:55 -07:00
Andy Hanson
e7acef125d Allow to find all references of the 'this 'keyword 2016-06-20 07:13:53 -07:00
Andy Hanson
166bc49f0c Refactor navigation bar 2016-06-17 07:42:26 -07:00
Andy
a1e0504ed4 Merge pull request #9189 from Microsoft/js_property_declaration
Allow property declarations in .js files
2016-06-15 12:20:41 -07:00