Tyler Leonhardt
e15397d2bb
finalize quickpick API
2022-01-21 14:08:20 -08:00
Logan Ramos
c047af40b2
Fix compilation
2022-01-19 16:18:14 -05:00
Logan Ramos
b22ee20028
Move to @vscode/extension-telemetry
2022-01-19 15:57:17 -05:00
Johannes Rieken
8ef8933a1a
incorporate API feedback, https://github.com/microsoft/vscode/issues/16221
2022-01-19 09:23:48 +01:00
Matt Bierner
b39c8e9989
Avoid not null assertion and use joinPath
2022-01-18 16:42:42 -08:00
Matt Bierner
789bdb8189
Use more specific return type in provider
2022-01-18 16:42:42 -08:00
Matt Bierner
c62c36dea3
Remove extra assertions
2022-01-18 16:42:41 -08:00
Benjamin Pasero
e3cf7e5e1b
API: Allow to use the file watcher for aribitrary folders ( #3025 ) ( #139881 )
...
* API: Allow to use the file watcher for aribitrary folders (#3025 )
* fix tests
* update `createFileSystemWatcher` docs
* refuse to watch resources that are watched in workspace already
* properly check proposed API
* make it work via `createFileSystemWacher` (first cut)
* more docs
* cleanup
* enable recursive watching based on pattern
* add tests
* drop out-of-workspace events when using simple patterns
* do not apply excludes when watchig files
* log extension watch requests
* also log unwatch
* improved exclude handling
* more docs
* drop proposed api needs
* remove `suite.only`
* cannot watch inside workspace more than once
* do not send extension decriptor over
* adopt latest changes
* add `baseUri` to relative pattern
* backwards compat
2022-01-13 13:32:03 +01:00
Matt Bierner
fd745e79f5
Enable passing TSServer plugins to TSServer on web
...
For #140455
This does not actually enable this feature but a first step for it. Requires work on the TS side to actually get working
2022-01-10 19:33:31 -08:00
Matt Bierner
c42d0864dc
Remove extra newline for TS Server log on web
2022-01-10 19:33:30 -08:00
Matt Bierner
deb9abe55e
Use node ipc for communication with TS Server ( #135341 )
...
* Use node ipc for communicating with TS Server
For https://github.com/microsoft/TypeScript/issues/46417
* Don't use ipc for stdio of we're not using ipc
* Use node ipc for communicating with TS Server
Fixes #85565
2022-01-10 14:36:23 -08:00
Matt Bierner
9ed5a855c1
Add support for office-script virtual file system
2022-01-05 14:53:44 -08:00
Matt Bierner
c3b939238c
Fix browser ts version
2022-01-05 11:18:22 -08:00
Raymond Zhao
e794a5444b
Remove some "here" links to be more descriptive
...
Ref #140059
2022-01-03 15:03:38 -08:00
Logan Ramos
932ab8e485
Update vscode extension telemetry modules
2021-12-28 11:06:48 -05:00
Benjamin Pasero
b9a2191563
files - add a method to generate a random path name ( #139364 )
2021-12-17 11:08:17 +01:00
Matt Bierner
e7b3724e0c
Enable no-case-declarations in codebase ( #139243 )
...
Fixes #139236
This can catch tricky programming mistakes that cause a runtime error. See 7e266b2c42 as an example of the type of bug this can prevent
2021-12-15 17:15:35 -08:00
Orta Therox
fc4f41d9fc
Allow extensions to be able to make requests to the typescript extension's tsserver via commands ( #138279 )
...
* Allow extensions to be able to make requests to the typescript extension's tsserver via the command system
* Adds allowlisting the commands
Co-authored-by: Matt Bierner <matb@microsoft.com >
2021-12-07 14:42:47 -08:00
Matt Bierner
26b621a773
Don't reject status indicator promise
...
Fixes #138453
Looks like `withProgress` does not handle rejections. To dismiss the indicator, we can simply resolve the promise instead
2021-12-07 12:08:39 -08:00
Alexandru Dima
51d7dd1a73
Selective task provider activation using a new onTaskType: activation event ( #137662 )
2021-12-07 17:43:38 +01:00
Alex Ross
e228f2a2b5
Add cancel to typescript promise rejection ( #138333 )
...
Fixes #138269
2021-12-02 15:21:29 +01:00
Alex Dima
cae6e662ce
Reduce usage of allow-any-unicode-next-line
2021-11-20 21:01:29 +01:00
Matt Bierner
e784e88a87
Update setting name to be more extensible in the future
...
Discussed in https://github.com/microsoft/TypeScript/issues/46590#issuecomment-966756378
2021-11-19 15:13:02 -08:00
Matt Bierner
9939a82851
Add separator for TS version quick pick
2021-11-19 15:13:02 -08:00
Matt Bierner
fa1266520c
Removing gating for ts args
...
These should be ignored on older TS versions
2021-11-19 15:13:01 -08:00
Matt Bierner
75c202e435
Don't send over npmLocation on web
2021-11-19 15:13:01 -08:00
Matt Bierner
59c53002de
Fix spelling
2021-11-17 12:47:37 -08:00
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