Commit Graph

1141 Commits

Author SHA1 Message Date
Matt Bierner
aec6ee09fa Remove eslint disablement in file
" -> '
2021-09-02 16:58:01 -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
Matt Bierner
813c0b2178 Pick up newest TS versions 2021-08-09 11:24:34 -07: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
637b409b00 Bundle TS 4.4 2021-08-02 15:33:27 -07: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
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
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
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
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
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