2369 Commits

Author SHA1 Message Date
Andy Hanson
9daa800c6a Respond to PR comments 2016-06-30 09:18:25 -07:00
Andy Hanson
0a61334677 Do not scan nodes preceding formatted region, just skip over them 2016-06-29 08:39:36 -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
Kagami Sascha Rosylight
6e984eb3a3 new options should be optional for compatibility 2016-06-29 03:28:22 +09:00
Kagami Sascha Rosylight
cbfbfe1aa6 make rules optional 2016-06-27 16:04:53 +09: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
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
62607722d4 Remove Signature#thisType and use Signature#thisParameter everywhere 2016-06-23 10:04:19 -07:00
Jason Ramsay
369253bbc4 Fix case when a document contains multiple script blocks with different base indentations.
Use the base indent size if it is greater that the indentation of the inherited predecessor
2016-06-21 11:46:49 -07:00
Andy Hanson
07437a6e7c Make goto-definition work for this parameter 2016-06-21 05:56:18 -07:00
Wesley Wigham
b103857b23
Merge branch 'master' into remove-jake 2016-06-20 16:33:01 -07:00
Wesley Wigham
0e5b741d42
Use merge2, gulp-if, gulp-newer, and more projects 2016-06-20 15:30:38 -07:00
Richard Knoll
b49acd527a Merge branch 'master' into glob2_merged 2016-06-20 14:10:55 -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
95cfaafdee Use implicit boolean casts; it doesn't hurt performance 2016-06-20 11:30:48 -07:00
Andy
420b920438 Merge pull request #9271 from Microsoft/classify_this
Classify `this` in parameter position as a keyword
2016-06-20 10:01:55 -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
Richard Knoll
f817ffaf47 Merge branch 'master' into glob2_merged 2016-06-17 17:55:15 -07:00
Richard Knoll
08ca1c0dff Merge branch 'master' into glob2_merged 2016-06-17 15:34:06 -07:00
Mohamed Hegazy
11bb6c08b9 Merge branch 'master' into Fix9173-2 2016-06-17 15:21:43 -07:00
Jason Ramsay
218a5ba0bb Adding base indentation for script block formatting and smart indent 2016-06-17 13:02:15 -07:00
Andy Hanson
166bc49f0c Refactor navigation bar 2016-06-17 07:42:26 -07:00
zhengbli
335443693f Merge branch 'master' of https://github.com/Microsoft/TypeScript into fixLargeProjectTry2
# Conflicts:
#	src/compiler/program.ts
#	tests/cases/unittests/tsserverProjectSystem.ts
2016-06-15 14:36:45 -07:00
Zhengbo Li
7bb739fa40 Merge pull request #9083 from zhengbli/i6853
Check use before declaration if both the use and decalration are not in module file
2016-06-15 12:43:30 -07:00
Mohamed Hegazy
ce45ee797c Fix comment 2016-06-15 12:23:00 -07:00
Mohamed Hegazy
da3333e967 Clear out unused compiler options when transpiling 2016-06-14 19:24:38 -07:00
Mohamed Hegazy
784a76530c Fix #9173: clear out lib and types before creating a program in transpileModule 2016-06-14 17:44:57 -07:00
Nathan Shively-Sanders
57f66b8efa Merge pull request #9148 from Microsoft/add-isDefinition-to-references
Add isDefinition to references
2016-06-14 11:12:53 -07:00
Nathan Shively-Sanders
102a890214 Use isLiteralComputedPropertyDeclarationName 2016-06-14 10:27:36 -07:00
Andy Hanson
6b05ecab5b Fix bug: do unescaping in the right place, so that it only affects escaped javascript identifiers 2016-06-14 09:39:48 -07:00
Nathan Shively-Sanders
7bf40c4935 Add more isDefinition tests and fix computed property bug 2016-06-14 09:39:30 -07:00
Nathan Shively-Sanders
792b23edc2 Make isDefinition required.
For the deprecated getOccurrencesAtPosition, isDefinition is always false.
2016-06-14 08:48:26 -07:00
Andy Hanson
1b4b01eed5 Unescape identifiers used in code completion 2016-06-14 08:13:55 -07:00
Ryan Cavanaugh
f9923efd09 Merge pull request #9095 from RyanCavanaugh/implicitTypeReferences
Implicit type inclusion changes
2016-06-13 16:33:22 -07:00
Nathan Shively-Sanders
5a7f7469ea Add isDefinition to ReferenceEntry
Clients can now easily tell if the reference is to a definition or a
usage.
2016-06-13 13:21:47 -07:00
Ryan Cavanaugh
e8ac1abbd6 Baseline fix, CR comments, lint 2016-06-13 09:33:49 -07:00
Yui
fb050f17f6 Use camel-case instead of snake-case (#9134) 2016-06-13 09:23:37 -07:00
Ryan Cavanaugh
576f09f531 Merge 2016-06-10 15:47:51 -07:00
Ryan Cavanaugh
9827b638b4 Implicit type inclusion changes 2016-06-10 15:44:11 -07:00
tinza123
85ac67f4ee check the declaration and use order if both are not in module file 2016-06-10 11:07:01 -07:00
zhengbli
94d44ad81d Merge branch 'master' of https://github.com/Microsoft/TypeScript into fixLargeProjectTry2
# Conflicts:
#	src/compiler/commandLineParser.ts
#	src/compiler/program.ts
#	src/compiler/sys.ts
#	src/compiler/types.ts
#	src/server/editorServices.ts
#	src/server/session.ts
2016-06-09 14:58:28 -07:00
Andy Hanson
75c1d77606 Merge branch 'master' into shorthand_ambient_module 2016-06-09 11:43:18 -07:00