Commit Graph

32500 Commits

Author SHA1 Message Date
Gabriela Araujo Britto
e079f71e7d more tests and fixes 2021-10-12 17:51:33 -07:00
Gabriela Araujo Britto
c3a64bcb17 small fixes; fixed tests 2021-10-12 15:24:06 -07:00
Gabriela Araujo Britto
69ee9fc069 support escaping in snippets 2021-10-12 13:58:22 -07:00
Gabriela Araujo Britto
41a3c196dc WIP: try to add snippet escaping in emitter 2021-10-06 18:25:13 -07:00
Gabriela Araujo Britto
d7809c1122 rebase 2021-10-06 13:38:25 -07:00
Gabriela Araujo Britto
db408cc9c2 fix snippet adding 2021-10-05 16:37:55 -07:00
Gabriela Araujo Britto
b124c8448a make add snippets work with overloads (not synced) 2021-10-05 12:21:35 -07:00
Gabriela Araujo Britto
c81f3856be WIP: snippet support on emitter, adding snippets in completions 2021-10-04 18:13:16 -07:00
Gabriela Araujo Britto
d20eb6852a WIP: add snippet support 2021-09-30 17:26:14 -07:00
Gabriela Araujo Britto
8ad404270c fix test 2021-09-30 10:35:40 -07:00
Gabriela Araujo Britto
905caad677 expose check override modifier in checker 2021-09-29 20:14:19 -07:00
Gabriela Araujo Britto
1d04720a9b wip: more fixes and tests 2021-09-23 12:22:00 -07:00
Gabriela Araujo Britto
2fa43e8531 add more tests and fix some details 2021-09-21 18:48:36 -07:00
Gabriela Araujo Britto
c608a6eee9 add more tests and support more cases 2021-09-20 17:44:47 -07:00
Gabriela Araujo Britto
4d2d476962 update type of addNewNodeForMemberSymbol 2021-09-20 11:39:07 -07:00
Gabriela Araujo Britto
2c84d88686 WIP: start using codefix addNewNodeForMemberSymbol to create method decl node 2021-09-17 16:30:09 -07:00
Gabriela Araujo Britto
701c5f3687 prototype creation for method override completion snippet 2021-09-13 09:44:24 -07:00
TypeScript Bot
3c8e45b304 Update package-lock.json 2021-09-07 06:06:12 +00:00
TypeScript Bot
3488e6e300 Update package-lock.json 2021-09-06 06:06:23 +00:00
csigs
8894262bac LEGO: Merge pull request 45725
LEGO: Merge pull request 45725
2021-09-04 10:13:34 -07:00
TypeScript Bot
dbf3cd3821 Update package-lock.json 2021-09-04 06:06:36 +00:00
csigs
0246f2611a LEGO: Merge pull request 45720
LEGO: Merge pull request 45720
2021-09-03 16:13:40 -07:00
Zzzen
1d51dfa550 improve error message for using property of type as type (#45354)
* improve error message for using property of type as type

* suggest typeof when possible

* fix naming and error location
2021-09-03 12:17:50 -07:00
csigs
d514a69409 LEGO: Merge pull request 45709
LEGO: Merge pull request 45709
2021-09-03 04:15:22 -07:00
csigs
66441e2f12 LEGO: Merge pull request 45706
LEGO: Merge pull request 45706
2021-09-02 22:13:54 -07:00
Chris Manghane
a53ab0935d Don't suppress comments when adding or removing braces to/from arrow function. (#45597)
Fixes microsoft/typescript#44228, microsoft/typescript#44229.
2021-09-02 18:05:16 -07:00
csigs
b1df3fec16 LEGO: Merge pull request 45699
LEGO: Merge pull request 45699
2021-09-02 16:13:45 -07:00
Oleksandr T
ba3a068614 fix(45687): allow selection to next token (#45695) 2021-09-02 11:57:37 -07:00
csigs
35ada354a3 LEGO: Merge pull request 45694
LEGO: Merge pull request 45694
2021-09-02 10:13:45 -07:00
Andrew Branch
5daa6f45a3 Revert "fix(45501): don't remove spaces between empty object literals with enabled insertSpaceAfterOpeningAndBeforeClosingEmptyBraces (#45514)" (#45682)
This reverts commit 076f22b2c9.
2021-09-01 17:47:27 -07:00
Andrew Branch
1a981d1df1 Remove unused code coverage command (#45684) 2021-09-01 15:39:10 -07:00
Ron Buckton
6f7f3b1775 Minor fixes to "Convert To Async" refactor (#45536)
* Minor fixes to convertToAsync

* Back out on nested return in inner continuation

* Baseline update

* Verify type argument for call can be used, add a few more early exit shortcuts
2021-09-01 13:13:12 -07:00
Orta Therox
f9a3d85b00 Fix the default text for --useDefineForClassFields (#45513)
* Fix the default text for --useDefineForClassFields

* Update with feedback
2021-09-01 15:10:47 +01:00
TypeScript Bot
6b086689f2 Update package-lock.json 2021-09-01 06:06:07 +00:00
TypeScript Bot
80a1b5ef92 Update package-lock.json 2021-08-31 06:09:32 +00:00
Wesley Wigham
f598076e68 Close package json watches in watch mode on close (#45642) 2021-08-30 12:53:26 -07:00
Kenta Moriuchi
d699bcdaae Update lib types to mark Annex B as deprecated (#43710)
* Mark properties defined in Annex B as deprecated

* Tweak

* Update baselines

* Update fourslash tests

* Add completionsStringMethods.ts test

* Fix sortText value in fourslash test for deprecated tags

* Update package-lock.json

* Update package-lock.json

* Mark Non-standard RegExp Constructor properties as deprecated

* Update baselines

Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com>
2021-08-30 10:38:07 -07:00
TypeScript Bot
7849342c7c Update package-lock.json 2021-08-30 06:08:39 +00:00
Kenta Moriuchi
9d815361fe Fix verify.baselineCompletions (#45615) 2021-08-29 21:53:42 -07:00
TypeScript Bot
fd067e9e81 Update package-lock.json 2021-08-29 06:05:49 +00:00
TypeScript Bot
c7a00c2440 Update package-lock.json 2021-08-28 06:06:01 +00:00
Ron Buckton
107c556fe4 Fix 'as const'-like behavior in JSDoc type cast (#45464) 2021-08-27 18:22:02 -07:00
Tim
1dc1efbc4f Update es5.d.ts (#45454)
* Update es5.d.ts

Fix grammar error.

* Update src/lib/es5.d.ts

* Update src/lib/es5.d.ts

Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
2021-08-26 23:10:25 -07:00
Gabriela Araujo Britto
9f025b90a4 Don't include literals from enum members in completions (#45588)
* don't include literals from enum members in completions

* add enum symbol to completions test

* use symbol flags for detecting enum member

* use type flags to check for enum member

* fix test
2021-08-26 16:33:06 -07:00
Andrew Casey
7fc1cb4b36 Use realpathSync.native on case-insensitive file systems (#44966)
* Make getSourceOfProjectReferenceRedirect take a Path

* Add useCaseSensitiveFileNames to ModuleResolutionHost

...so that path comparisons can use it during module resolution.

* Re-enable realpathSync.native for case-insensitive file systems
2021-08-26 15:35:04 -07:00
Andrew Branch
983ddf5bb5 Update packages (#45587) 2021-08-26 12:06:12 -07:00
TypeScript Bot
6cdc7d1ae3 Update package-lock.json 2021-08-26 06:06:17 +00:00
Stef Busking
2a2962a916 Properties on intersections should be readonly only if all declarations are (#45263)
Fixes #45122
2021-08-25 16:55:14 -07:00
Andrew Branch
30103de1dd Let AutoImportProviderProject resolve JS when allowJs and maxNodeModulesJsDepth allows (#45524)
* Let AutoImportProviderProject resolve JS when allowJs and maxNodeModulesJsDepth allows

* Simplify function
2021-08-25 15:06:14 -07:00
csigs
db0576c251 LEGO: Merge pull request 45568
LEGO: Merge pull request 45568
2021-08-24 17:00:47 -07:00