Commit graph

1292 commits

Author SHA1 Message Date
Martin Aeschlimann 57376f410d
typescript: avoid global setImmediate 2021-07-09 12:39:38 +02:00
Martin Aeschlimann cde5781978
polish webpack configs 2021-07-09 11:55:21 +02:00
Martin Aeschlimann 7ded90e452
Merge branch 'main' into joh/webpack5 2021-07-09 09:50:10 +02:00
Matt Bierner d5d45297f8
Split service configuration for desktop and browser
Fixes #128222

We only support using configured TS versions on desktop. In browsers we always use the bundled version
2021-07-08 15:29:54 -07:00
Matt Bierner 41807b889d
Use service for loading service configuration
For #128222
2021-07-08 15:29:53 -07:00
Matt Bierner b7e633aae1
Use interface for service config
For #128222
2021-07-08 15:29:53 -07:00
Martin Aeschlimann 7ebe6a6054
adopt web extensions to webpack 5 2021-07-08 21:41:03 +02:00
Matt Bierner 8b3d6668bd
Support syntax diagnostics in partial mode
For https://github.com/microsoft/TypeScript/pull/44859
2021-07-07 12:36:56 -07:00
Wenlu Wang e144d6e951
Add ts inline hints (#113412)
* Add ts server for inline hints

* Add some feature related configure

* Add more config

* Rename all options

* Support range

* use new interface

* Fix cr issues

* Update inlay hints for ts plugin

* Avoid call chain hints

* Avoid more option

* Update protos

* Update extensions/typescript-language-features/package.nls.json

Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>

* Use suppress for some option

* Update CR issues

* Fix missing typedef

* Avoid changes

Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
2021-07-07 09:21:20 -07:00
Andrew Branch c0bc22edf0
[typescript-language-features] Add suggest.allowIncompleteCompletions and pass trigger kind to TS Server (#127673)
* Add suggest.allowIncompleteCompletions and pass trigger kind to TS Server

* Remove setting, use switch for TriggerKind conversion
2021-07-06 16:10:20 -07:00
Heyward Fann 64e1bd289c
Update completions.ts (#124822) 2021-07-01 13:03:01 -07:00
Johannes Rieken 14704a7e92
adopt API changes in tests and extensions 2021-06-22 14:35:32 +02:00
Matt Bierner 57d5c9dd0f
Switch back to repeated contribution
Fixes #125652

When clause using `||` doesn't seem to work here
2021-06-16 14:26:23 -07:00
Johannes Rieken b5da2d0f10
extract MarkdownString from MarkedString type, fyi @mjvbz 2021-06-16 14:53:42 +02:00
Matt Bierner 7339e94830
Support https links as jsdoc target
Fixes #126180
2021-06-15 15:16:36 -07:00
Matt Bierner ce275e4f7c
Make sure we encode generated markdown links in jsdoc
Fixes #126246
2021-06-15 15:16:35 -07:00
Matt Bierner 53350bc666
Log exit signal for desktop TS Servers
For #125852
2021-06-11 16:45:35 -07:00
大表哥 d48645cf61
fix: areLanguageDiagnosticSettingsEqual always return true (#125365) 2021-06-09 08:35:43 -07:00
netcon f1e458a1d7
fix: web typescript extension can not found definitions (#125279) 2021-06-08 10:40:29 -07:00
Emily Marigold Klassen 2f6ee8b71f
chore(typescript-language-features): fix spelling of deprecated (#125693)
Co-authored-by: Emily M Klassen <forivall@users.noreply.github.com>
2021-06-07 14:45:08 -07:00
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 b314536e56
Move find file references into the search group
For #115694
2021-05-21 17:59:54 -07:00
Martin Aeschlimann 32a06b9be2 [typescript] add limited description 2021-05-21 15:38:02 +02: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
Robo bce4d71f64
chore: bump node@14.x in devDependencies (#122905) 2021-05-04 10:04:13 +02: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 3915fcfe49
Add some links and small cleanup for JS/TS settings 2021-04-28 17:31:18 -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
Alex Ross d40139dd63
Make typescript problem matcher even more general
Fixes #121672
2021-04-23 14:19:29 +02:00
Sandeep Somavarapu ac151b40a5
enable virtual workspace capability 2021-04-23 10:20:23 +02:00
Matt Bierner 36591a96a0
Rename 2021-04-22 14:57:27 -07:00
SteVen Batten f9fc28d47d update ext manifest schema validation and built-in exts 2021-04-21 11:54:42 -07:00
Matt Bierner 3b20d95b3a
Consider updateOpen as signalling that project loading as completed
Fixes #119268
2021-04-20 14:23:39 -07:00
Miguel Solorio ac48f78dd6
Add icons for built-in extensions (fixes #81760) 2021-04-20 12:09:24 -07:00
Matt Bierner 1764fc81a8
Add requiredForConfigurations for TS 2021-04-20 11:37:54 -07:00
Matt Bierner ae24966cce
Localize workspaceTrust 2021-04-20 11:35:02 -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