Matt Bierner
280e007073
Add undocumented always syntax only TS server mode
...
Fixes #124649
2021-05-27 14:40:47 -07:00
Ikko Ashimine
b5b059d2e2
fix typo in files.ts ( #124693 )
...
* fix typo in files.ts
occured -> occurred
* fix typos
2021-05-27 07:34:17 +02:00
Nicholas Rayburn
c538781d78
add notification if tsserver logs are left on for more than 7 days ( #124149 )
...
* add notification if tsserver logs are left on for more than 7 days fix #123493
* extended tsserver logging notification updates
* cleanup excess new lines
* typescript loglevelmonitor cleanup
* remove todo
2021-05-26 13:23:12 -07:00
Matt Bierner
68efd480d0
Explicitly convert properties to strings before uploading
2021-05-25 18:30:18 -07:00
Matt Bierner
34180ac9be
Remove code allowing multiple ids for a command
...
This doesn't appear to be used anywhere
2021-05-19 18:23:51 -07:00
Matt Bierner
35eafb7873
Add sort imports command
...
Fixes #122593
Sort imports just sorts imports, vs organize imports which also removes unused imports
2021-05-19 18:20:16 -07:00
Benjamin Pasero
159479eb5a
Allow to show status bar entries with an id and name ( fix #74972 )
2021-05-19 14:03:37 +02:00
Matt Bierner
f25ffb76ed
Fix stopping load indicator when updateOpen completes
...
Fixes #122979
We can consider the project loaded when `updateOpen` completes for all servers. Previously we were only waiting on the first one
2021-05-06 14:54:53 -07:00
Logan Ramos
135142e497
Update deprecated typescript tests
2021-05-04 13:49:47 -04:00
Matt Bierner
65c6a0a543
Pick up TS 4.3 nightly
...
For #122884
2021-05-03 16:15:30 -07:00
Ladislau Szomoru
3edce10f20
Cleanup modal property from proposed api
2021-05-02 14:22:41 +02:00
Matt Bierner
c8bd5b211a
Enable infer function return type for 4.3+
...
Fixes #122781
2021-05-01 00:06:23 -07:00
Matt Bierner
a4fdb2c3ad
Make adding overrides an preferred quick fix
2021-04-28 16:43:52 -07:00
Andrew Branch
033f6aac86
Fix missed Previewer.plain call due to adjacent @ts-expect-error ( #121975 )
2021-04-28 14:04:29 -07:00
SteVen Batten
b2c250faeb
fix build
2021-04-23 11:46:52 -07:00
SteVen Batten
6c747e75da
Workspace Trust Prop Changes ( #121779 )
...
* update wording for dialog
* remove soft request prompts
* tweak wording
* use origin
* clean up language for choice prompt
2021-04-23 10:14:09 -07:00
Matt Bierner
36591a96a0
Rename
2021-04-22 14:57:27 -07:00
Matt Bierner
3b20d95b3a
Consider updateOpen as signalling that project loading as completed
...
Fixes #119268
2021-04-20 14:23:39 -07:00
Benjamin Pasero
14981ce89d
tests - enable colors for windows (CI supports it and the new Windows terminal too)
2021-04-19 09:29:20 +02:00
Matt Bierner
2881355f37
Use es2020 as the default target for js/ts implicit projects
...
Fixes https://github.com/microsoft/TypeScript/issues/43596
For users targetting browsers, this should be a reasonable default. We'd like more feedback during insiders for users targetting other environments
2021-04-14 17:26:55 -07:00
Andrew Branch
fa56f6ea3d
Add telemetry for import statement completions ( #121243 )
2021-04-14 09:59:08 -07:00
SteVen Batten
c5fab4faa3
Boolean Trust State ( #121141 )
...
* move to boolean-based trust state
* update api based on feedback
2021-04-13 12:54:52 -07:00
Matt Bierner
d5f4e119e0
Use Array.from's map directly instead of a second call to map
2021-04-12 14:42:39 -07:00
Matt Bierner
84391165c3
Pass in correct project root for notebook cells
2021-04-08 16:49:04 -07:00
Matt Bierner
604b950f0d
Reapply badclient commit
...
Fixes #120781
Add second file this time
2021-04-08 09:09:25 -07:00
Benjamin Pasero
de3aca7a53
Revert "Add badclient telemetry property"
...
This reverts commit e5ef9895b6 .
2021-04-08 08:03:54 +02:00
Matt Bierner
e5ef9895b6
Add badclient telemetry property
...
TS will now notify us if it thinks the error was caused by the client instead of by a server error
2021-04-07 18:49:06 -07:00
Matt Bierner
73ae56b82b
Build with latest TS nightly ( #120690 )
...
* Pick up new TS 4.3
Also tests adding override keywords for extensions as part of #120675
* Update to daily TS and workaround TS 4.3 issue
Works around https://github.com/microsoft/TypeScript/issues/43578
2021-04-07 12:19:05 -07:00
Ladislau Szomoru
648ea3d1e0
Refactor requireWorkspaceTrust to requestWorkspaceTrust
2021-04-01 15:59:04 +02:00
Andrew Branch
29ca249959
[typescript-language-features] Support import statement completions for TypeScript 4.3 ( #119009 )
...
* Support import statement completions for TypeScript 4.3
* Fix forgotten argument
* Add snippet preference
Co-authored-by: Matt Bierner <matb@microsoft.com >
2021-03-29 11:38:22 -07:00
Matt Bierner
a39120ddd1
Add support for JSDoc link tags ( #119358 )
...
* Add support for JSDoc @link tags
Fixes #119357
* Fix unresolved links not rendering
2021-03-29 11:29:52 -07:00
Matt Bierner
b9f33fc242
Rename CodeActionKind.Manual -> Invoke
...
For #118084
2021-03-17 16:57:22 -07:00
Martin Aeschlimann
c09b3d2358
typescript: enable built-in 2020 semantic token support
2021-03-17 00:15:42 +01:00
Matt Bierner
ba54c76164
Use TS replacement span if returned
2021-03-09 12:25:18 -08:00
Matt Bierner
49d05f998f
Add CodeActionTriggerKind api proposal
...
For #118084
Fixes #118087
2021-03-03 17:36:07 -08:00
Matt Bierner
2f7438f492
Fix spelling for type
2021-03-03 10:57:24 -08:00
Ladislau Szomoru
14fd07d57a
Workspace trust api feedback
2021-03-03 12:41:22 +01:00
Andrew Branch
400737c5b8
Pass 'data' to completion details request ( #117092 )
2021-03-01 16:04:48 -08:00
Ladislau Szomoru
f18a340066
Use method instead of event
2021-03-01 20:05:30 +01:00
Ladislau Szomoru
73112daff1
Remove extra check that is not needed
2021-03-01 15:13:18 +01:00
Benjamin Pasero
e916637528
tests - enable color output for integration tests
2021-03-01 15:10:15 +01:00
Ladislau Szomoru
8fd4a68845
Factor in workspace trust when switching versions ( #117774 )
2021-03-01 09:09:13 +01:00
Matt Bierner
d89e2e17a5
Allow single line comment after { for auto indent
...
Fixes #86176
2021-02-26 20:30:02 -08:00
Matt Bierner
8572664c6c
Enable semantic features (such as error reporting) in JS/TS notebook cells
2021-02-26 18:39:21 -08:00
Matt Bierner
a74ebb17cf
Add helper for tracking active js/ts editor
...
Fixes #117813
2021-02-26 18:05:06 -08:00
Matt Bierner
1f567e10f3
Fixing two more cases for promises in conditionals
2021-02-26 17:38:37 -08:00
Matt Bierner
91d73da5e4
Only show infer return type refactoring when refactorings are requested
...
Fixes #117799
2021-02-26 14:21:24 -08:00
Matt Bierner
192c817fd3
Make jsdoc completions text kind instead of snippet kind
...
Fixes #116941
Snippet completions can be disabled by `editor.snippetSuggestions`. It likely isn't expected that this setting could disable JSDoc completions too
2021-02-18 19:34:12 -08:00
Matt Bierner
3dc8cb1afc
Add setting to enable/disable returns generation in jsdoc
...
Fixes #116282
2021-02-10 12:20:01 -08:00
Shunsuke Iwamoto
76524ef589
Fixes 114236: Add a multi-line comment regex to unIndentedLinePattern ( #114478 )
...
* Add a multi-line comment regex to unIndentedLinePattern
* Add multi-line comment block indentation tests
* Fix a multi-line comment block indentation test
2021-02-09 17:05:21 -08:00