601 Commits

Author SHA1 Message Date
Andrew Branch
b8dcf27c3e
Merge pull request #31482 from andrewbranch/bug/31338
Organize imports: don’t delete import declarations used for module augmentation
2019-05-30 14:01:55 -07:00
Andrew Branch
60d0bb9b19
Don’t touch imports used for module augmentation in non-declaration files since it could change JS emit 2019-05-22 11:37:35 -07:00
Ron Buckton
3d2af9ff33
Relocate Debug namespace to reduce duplication (#31524) 2019-05-22 11:20:29 -07:00
Sheetal Nandi
1e7a77cf78
Merge pull request #31503 from microsoft/casing
Ignore drive letters when comparing casings of the files with forceConsistentCasingInFileNames
2019-05-22 09:25:34 -07:00
Sheetal Nandi
38f689d19e
Merge pull request #31484 from microsoft/completionsSorting
Add sortText depending scope of symbols
2019-05-21 12:59:01 -07:00
Sheetal Nandi
43c7eb77e1 Switch to using File not found message instead of trace message file does not exit
Fixes #30872
2019-05-21 09:43:40 -07:00
Sheetal Nandi
db150517d7 Ignore drive letters when comparing casings of the files with forceConsistentCasingInFileNames
Fixes #31327
2019-05-21 09:32:17 -07:00
Sheetal Nandi
00cea41b65 Add sortText depending scope of symbols
Fixes #15024
2019-05-20 15:53:51 -07:00
Andrew Branch
6faeee449d
Don’t remove imports that are used for module augmentation, just remove their import clauses 2019-05-20 14:49:28 -07:00
Andrew Branch
0f15bda45f
Add failing test 2019-05-20 13:31:44 -07:00
Andrew Branch
15daf42b2c
Merge pull request #31028 from andrewbranch/feature/smart-select
Smart Select language service API
2019-05-16 09:45:05 -07:00
Klaus Meinhardt
0c9db717ad fix parsing of leading union/intersection operator (#31265)
* fix parsing of leading union/intersection operator

Fixes: #30995

* test declaration emit
2019-05-08 14:09:11 -07:00
Ron Buckton
0c1a283bf9 Add opt-in behavior for custom transforms to support bundles 2019-05-07 17:29:02 -07:00
Kagami Sascha Rosylight
49d6f61298 Add ES2019 Object.fromEntries function (#30934)
* add ES2019 Object.fromEntries function

* add some comments

* apply suggested changes

* add readonly and general any
2019-04-30 09:49:58 -07:00
Sheetal Nandi
fb21e70d71 Target affects emit hence mark the option so that all files are reemitted when target changes
Fixes #31118
2019-04-29 13:05:31 -07:00
Kagami Sascha Rosylight
1a75d525fa add ES2020 matchAll APIs (#30936) 2019-04-25 14:11:50 -07:00
Andy Hanson
dc7c9bad3d Avoid eagerly computing test payload (#27851) 2019-04-25 13:26:19 -07:00
Sheetal Nandi
f27cf9b34e
Merge pull request #30971 from Microsoft/dtsSignatureChange
Handle when change in type of dts may result in only dts emit but not js emit
2019-04-24 11:16:22 -07:00
Andrew Branch
6608349ea2
Merge pull request #31008 from andrewbranch/bug/29358
Support binding patterns in Promise -> async/await refactor
2019-04-24 08:43:15 -07:00
Andrew Branch
3e30a7c2ad
Remove all but one server unit test 2019-04-23 16:45:08 -07:00
Ryan Cavanaugh
885d4d63c8
Remove "generate types" code (#31075) 2019-04-23 13:51:47 -07:00
Andrew Branch
f0a3d2bf92
Filter out zero-width selections 2019-04-19 09:44:42 -07:00
Andrew Branch
95fb694eed
Consistify tabs/spaces in test and baselines 2019-04-19 08:58:29 -07:00
Andrew Branch
12492a369e
Rename test to match 2019-04-18 16:28:12 -07:00
Andrew Branch
d8936fd290
Rename to be smarter 2019-04-18 16:23:06 -07:00
Andrew Branch
5479893f00
Skip lone variable declarations 2019-04-18 16:05:08 -07:00
Andrew Branch
fed910fd0c
Add stop for JSDoc comments 2019-04-18 16:05:08 -07:00
Andrew Branch
d73eabd35a
Special rules for binding elements, extend brace/whitespace logic to other kinds of bookended lists 2019-04-18 16:05:08 -07:00
Andrew Branch
74fc84ff84
Snap to nodes directly behind the cursor, create special rules for ParameterNodes 2019-04-18 16:05:07 -07:00
Andrew Branch
4ecdc82736
Solidify fake tree approach 2019-04-18 16:05:07 -07:00
Andrew Branch
fcb7f0152f
Rethink sibling expansion by creating fake subtrees 2019-04-18 16:05:07 -07:00
Andrew Branch
70e2672ab3
Add rules for expanding selection to sibling nodes 2019-04-18 16:05:07 -07:00
Andrew Branch
61425cb304
Move most logic to separate file 2019-04-18 16:05:06 -07:00
Andrew Branch
0a4ef0f630
Distinguish between same-line and different-line braces 2019-04-18 16:05:06 -07:00
Andrew Branch
039487c84e
Also skip TemplateHeads 2019-04-18 16:05:06 -07:00
Andrew Branch
fd88e52252
Start imports 2019-04-18 16:05:06 -07:00
Andrew Branch
e62c2333eb
Add support for string literals 2019-04-18 16:05:06 -07:00
Andrew Branch
f98c00ab9d
Add more tests, special handling for mapped types 2019-04-18 16:05:05 -07:00
Andrew Branch
af3d0f0248
Start smart select API 2019-04-18 16:05:05 -07:00
Andrew Branch
680d18207c
Add tests for destructuring from variable with inferrable type 2019-04-18 12:01:11 -07:00
Andrew Branch
e7fb18e395
Handle case where you have to add a destructuring after a try/catch block 2019-04-18 11:36:47 -07:00
Andrew Branch
ef18453166
Add tests for binding elements that need to be renamed 2019-04-17 18:43:01 -07:00
Andrew Branch
4c73b2e7bd
Basic support for binding patterns in async/await code fix 2019-04-17 18:43:00 -07:00
Sheetal Nandi
d5100bb95e Merge branch 'master' into dtsSignatureChange 2019-04-17 16:36:09 -07:00
Sheetal Nandi
4a55025f20 Code review feedback 2019-04-17 16:32:33 -07:00
Sheetal Nandi
b337565747 Merge branch 'master' into tsbuildTestPerf 2019-04-17 16:05:00 -07:00
Sheetal Nandi
0c18d032e7 Merge branch 'master' into incrementalLateSymbol 2019-04-17 15:41:53 -07:00
Sheetal Nandi
dc7d77f2c7 Make the tsbuild tests use simple libFile instead of bigger lib file set 2019-04-17 15:35:00 -07:00
Sheetal Nandi
15ae8a7273 Make sure to emit again if change in compiler option affects emit
Fixes #30736
2019-04-16 16:18:37 -07:00
Sheetal Nandi
707cb93891 Write test case that baselines the incremental build result
Testcase for #30780
2019-04-16 12:50:37 -07:00