Commit Graph

1382 Commits

Author SHA1 Message Date
Johannes Rieken
09c9d4c293 use enabledApiProposals instead of wildcard property, also update compilation units to only include d.ts-files that are needed, https://github.com/microsoft/vscode/issues/131165 2021-11-12 11:05:57 +01:00
Johannes Rieken
a4d426a1c2 split vscode.proposed.d.ts into a file per proposal, https://github.com/microsoft/vscode/issues/131165 2021-11-12 09:48:17 +01:00
Johannes Rieken
64da3b132b move languageStatus API proposal into its own file, adopt TypeScript usage, https://github.com/microsoft/vscode/issues/131165 2021-11-11 16:21:59 +01:00
Johannes Rieken
68e819043c use tsconfig.json#include for vscode.d.ts and vscode.proposed.d.ts, enables to remove most ref.d.ts-files 2021-11-09 15:53:35 +01:00
Johannes Rieken
9254a8cd27 move vscode.d.ts and vscode.proposed.d.ts into src/vscode-dts-folder, https://github.com/microsoft/vscode/issues/131165 2021-11-09 15:00:03 +01:00
Logan Ramos
00de6a5f2f Update telemetry module 2021-11-08 10:00:44 -05:00
Matt Bierner
06fe6b7d2b Bump browser TS version 2021-11-04 17:30:01 -07:00
Alex Dima
a704a69394 Enforce that source code uses a small subset of Unicode 2021-11-03 23:34:41 +01:00
Alex Dima
3247c31f6a Replace Right Single Quotation Mark with Single Quote 2021-11-03 23:34:40 +01:00
Matt Bierner
ce9c6361dc Remove typescript-vscode-sh-plugin
Fixes #136389
2021-11-03 14:48:48 -07:00
Matt Bierner
2d7585d9e0 Remove old experimental protocol
These options are now part of the normal TS protocol
2021-10-29 13:09:54 -07:00
Matt Bierner
1fbdd010dc Pick up TS 4.5 nightly for insiders 2021-10-29 13:09:20 -07:00
Matt Bierner
b34c834443 Remove duplicated language-config file
This should already be listed under typescript-basics
2021-10-29 13:07:15 -07:00
Matt Bierner
bc4e05c002 Add js version of setting too 2021-10-28 14:18:04 -07:00
Gabriela Araujo Britto
d2aa181e66 add new 'includeCompletionsWithClasMemberSnippets' option (#136045) 2021-10-28 14:07:11 -07:00
Matt Bierner
2ae9352ae3 Try to avoid opening text documents just to process diagnostics
To handle JS/TS diagnostics, we currently use the language mode of an open text document. This should always be correct, but also causes us to open text documents that we don't need to

This change instead tries using the file extension first before falling back to use the text document. Using the file extension is not strictly correct since users can setup weird file associations, but should be ok for the vast majority of use cases

Investigated as part of #101885
2021-10-19 17:54:23 -07:00
Matt Bierner
8fc2a8d2ce Fix comment 2021-10-19 17:54:23 -07:00
Matt Bierner
6ae9e9d86c Add more specific check for lib files on web 2021-10-14 10:10:55 -07:00
Matt Bierner
fc7a9d1309 Add missing change 2021-10-12 12:18:34 -07:00
Matt Bierner
d8091da23c Simplify _onDidChangeInlayHints firing 2021-10-12 12:11:34 -07:00
Matt Bierner
f47ae9e324 Disable dynamic routing when experimental project wide diagnostics are enabled
Fixes #132121

We don't track project loading state properly when project wide diagnostics are enable. Just disable it for now since this is an experimental feature
2021-10-11 14:50:28 -07:00
Johannes Rieken
5dcc08052c change back onDidChaonDidChangeInlayHints, ignore events for model for which a request is currently pending, https://github.com/microsoft/vscode/issues/13043 2021-10-11 10:32:00 +02:00
Matt Bierner
710e0d4d9c Add mjs/cjs and mts/cts to path based language mode checks 2021-10-07 17:47:17 -07:00
Gerrit Birkeland
3629e68250 Fix rendering of @example comment blocks (#132821) 2021-10-07 16:22:36 -07:00
Matt Bierner
78c627f1c9 Trigger inlay hints for all visible JS/TS editors when one changes
Fixes #130430
2021-10-05 12:20:42 -07:00
Matt Bierner
eb5ec1b324 Use warning for partial mode language status item 2021-10-04 09:19:47 -07:00
Matt Bierner
9990843822 Disable non syntax errors in files that don't have semantic capabilities (#134175)
If we're on a host that supports semantic checking, but in a file that doesn't support semantic errors, we currently don't want to report semantic errors since these will likely complain about imports and other undefined symols
2021-10-04 08:11:16 -07:00
Johannes Rieken
f8e953fdff adopt API breakage of onDidChangeInlayHints 2021-10-04 12:59:25 +02:00
Logan Ramos
a4342f3add Bump telemetry module 2021-10-01 16:52:56 -04:00
Matt Bierner
12167d7ce8 Note required TS version of JSX completion setting 2021-09-30 17:20:27 -07:00
Matt Bierner
595bc1d56b Fix fragment being dropped from in-memory js/ts resources
Some documents (specifically notebook cells) use the fragment to identify different document parts

Make sure we preserve this
2021-09-30 11:49:08 -07:00
Martin Aeschlimann
ab55b573ea add tag closing for tsx (for #34484) 2021-09-30 11:17:42 +02:00
Matt Bierner
6fed60f8f4 Fix formatting
Introduced by PR
2021-09-29 21:32:20 -07:00
Stephen Sigwart
2b3f9adf88 Fix typescript NLS JSON (#134179) 2021-09-29 21:13:03 -07:00
Armando Aguirre
7fdc489e08 Add jsxAttributeCompletionStyle setting (#133920)
* Add jsxAttributeCompletionStyle setting

* Apply suggestions from code review

Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>

Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>
2021-09-29 16:20:23 -07:00
Matt Bierner
fa27356174 Update link 2021-09-29 08:45:48 -07:00
Matt Bierner
ece191d76f Use correct project types for javascript projects 2021-09-29 08:42:59 -07:00
Matt Bierner
c03da8b023 Add consolidated IntelliSense status item
Fixes #133731
2021-09-28 18:30:47 -07:00
Matt Bierner
c6d45158c5 Spelling 2021-09-28 16:59:04 -07:00
Matt Bierner
124f1ef74e Remove extra check for non-nullable param 2021-09-27 15:43:25 -07:00
Matt Bierner
8731be5e78 Fix errors in untitled JS/TS files 2021-09-27 14:09:31 -07:00
Matt Bierner
1aa23f12ac Only show capabilities item when in single file mode
For #133731

No need to show this normally since project intellisense is the default
2021-09-27 13:39:26 -07:00
Matt Bierner
f47586563e Show loading spinner while loading status of tsconfig for current file 2021-09-27 13:39:25 -07:00
Ikko Ashimine
437b6ce304 Fix typo in completions.test.ts (#133401)
backets -> brackets
2021-09-27 12:23:56 -07:00
Logan Ramos
282f499c22 Update extension telemetry module 2021-09-23 11:26:57 -04:00
Henning Dieterichs
d6b2e78477 Fixes #132847 by configuring ${...} as bracket pair. 2021-09-21 12:28:25 +02:00
Benjamin Pasero
54cdd9c58b status - improve hover feedback for compact entries (#129037) 2021-09-18 09:53:10 +02:00
Matt Bierner
eefcaf6e0f Extract duplicated constant 2021-09-16 17:20:03 -07:00
Matt Bierner
6d01964e8e Add language status item for single file mode
Fixes #133296
2021-09-16 17:20:02 -07:00
Matt Bierner
43f7c113e4 Move project status items to a new ui folder 2021-09-16 17:20:02 -07:00