Commit Graph

1322 Commits

Author SHA1 Message Date
Jonah Snider
19512e92cb Fix typo in javascript.inlayHints.propertyDeclarationTypes.enabled description (#131760) 2021-08-27 15:20:20 -07:00
Logan Ramos
8dbad73de5 Update built in extensions telemetry 2021-08-27 15:45:42 -04:00
Logan Ramos
ecc7fdac90 Bump extension telemetry module 2021-08-27 11:29:48 -04:00
Matt Bierner
f29bc05bb5 Disable parameter names hints by default 2021-08-23 13:51:10 -07:00
Matt Bierner
e802791cf1 Introduce typescript.tsserver.useSyntaxServer
Fixes #131142

This setting replaces `typescript.tsserver.useSeparateSyntaxServer` and officailly documents the syntax only mode on desktop
2021-08-18 18:36:37 -07:00
Matt Bierner
5fe071c2e7 Don't return trigger characters for ambient JS suggestions
Fixes #130096
2021-08-12 15:34:34 -07:00
Logan Ramos
da7d76d2ec Update extension telemetry module 2021-08-10 12:43:41 -04:00
Matt Bierner
813c0b2178 Pick up newest TS versions 2021-08-09 11:24:34 -07:00
Logan Ramos
6aa5b9226b Update extension telemetry module 2021-08-09 13:16:08 -04:00
Matt Bierner
f944203712 Remove old cast
Not needed with TS 4.4
2021-08-03 22:15:43 -07:00
Matt Bierner
e4eaed4bf5 Add support for rendering @linkcode jsdoc tags as code 2021-08-03 16:37:26 -07:00
Matt Bierner
5bc143160c Add on Error handler for ts worker 2021-08-03 16:37:25 -07:00
Matt Bierner
48c560d788 Organize imports in TS ext 2021-08-03 13:22:45 -07:00
Matt Bierner
82331754b3 Enable param name inlayHints by default for TS
Looking for feedback. Will also consider keeping enabled if it looks stable enough
2021-08-03 12:04:00 -07:00
Matt Bierner
67ea45c3e0 Don't use | null for ts config
Fixes #129794

Just fall back to undefined instead
2021-08-02 16:11:17 -07:00
Matt Bierner
637b409b00 Bundle TS 4.4 2021-08-02 15:33:27 -07:00
Logan Ramos
9350fa3c9d Bump telemetry module to fix packaging 2021-08-02 14:29:37 -04:00
Logan Ramos
b7a07daa5a Fix #129727 2021-08-02 13:04:26 -04:00
Logan Ramos
87e0cb1d43 Fix #129474 2021-07-29 11:39:03 -04:00
Matt Bierner
f5ab4b6292 Clairify enumMemberValues only applies to declaration
Fixes #129516
2021-07-27 16:16:56 -07:00
Matt Bierner
3d244a9a7e Add language to example code blocks 2021-07-27 16:16:05 -07:00
Matt Bierner
9c12aa144b Add examples to inlay hint settings
Fixes #129517
2021-07-27 16:08:02 -07:00
Matt Bierner
68b9fd93cc Note that inlay hints require TS 4.4 2021-07-26 18:12:18 -07:00
Logan Ramos
c8e6d08e3a Update to the latest extension module 2021-07-26 13:44:43 -04:00
Matt Bierner
847a6d8cd0 Fix request position of the inlay hints
Fixes #129134

The document may change between the request and when `ensureConfigurationForDocument` completes

I think this should fix the shifting around
2021-07-22 17:53:53 -07:00
Matt Bierner
50ac52ca92 Add explicit list of types 2021-07-22 17:53:53 -07:00
Matt Bierner
0207dfe18c Remove unused class 2021-07-21 18:32:57 -07:00
Matt Bierner
23d99b3055 Prompt users to update TS versions before reporting issues
Fixes #129131
2021-07-21 14:56:20 -07:00
Matt Bierner
76885d753d Use static list of commit characters
Testing this for the TS side. We think that being consistent may be better than trying to be smart here
2021-07-21 14:56:20 -07:00
Matt Bierner
3fd02ec7ba Update inlay hints when inlay settings change 2021-07-15 15:59:59 -07:00
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