Matt Bierner
ca6c806af5
Adopt busy for TS intellisense status
...
For #141269
2022-02-09 14:49:13 -08:00
Matt Bierner
36ee187589
Surface TS code action desc in completions
...
Fixes #141591
2022-02-08 17:11:48 -08:00
Robo
01df559c18
chore: update to electron 16 ( #137241 )
...
* chore: bump electron@15.3.0
* chore: bump node@16.x
* chore: enable render process reuse
* Revert "watcher - use `type` property for crash reporter location"
This reverts commit bfa488dd8f .
* Revert "watcher - enable crash reports on linux (#136264 )"
This reverts commit af261488f8 .
* chore: enable crashpad on linux
* chore: bump electron@15.3.1
* chore: update api changes
* chore: bump @vscode/sqlite3@5.0.3
* spec: skip non-context aware module unittests
* chore: fix perf hook integration with node environment
* fix: adopt fs api changes
* chore: fix integration tests
* chore: bump electron@15.3.2
* chore: bump electron@16.0.0
* temp(macOS): kill test instances in OSS
* Revert "temp(macOS): kill test instances in OSS"
This reverts commit b0d796c8d64227a5ec012c060bbbee7d9da27568.
* chore: update chromium version for clang downloader
* some 💄 changes
* align with changes
* adopt more fs.rm
* 💄
* chore: bump @vscode/sqlite3@5.0.4
* fix layers check to account for duplicated types from node.js
* update todo for type casts
* smoke - fix compile issue
* chore: update module cache
* watcher - fix unhandled rejection (fix #137416 )
* ci: update node version
* enable stack dumping
* update electron types to 16.x
* chore: bump @vscode/sqlite3@5.0.5
Refs https://github.com/microsoft/vscode/issues/137496
* fix layer issue
* add `AbortSignal` to core types
* chore: update linux compile flags
Refs 797723ec83
* ci: fix linux build
* ci: update github ci cache
* ci: fix remote build in github ci
* ci: better fix for remote build
* chore: bump azure cache
* chore: fix merge conflict
* :chore: update to electron@16.0.2
* chore: bump @vscode/sqlite3@5.0.7
* ci: update to gcc-4.9 for remote
Refs https://github.com/microsoft/vscode/issues/137659
* ci: switch to buster for linux arm
Refs https://github.com/microsoft/vscode/issues/137927
* ci: fix build on linux arm64
* ci: fix arm client compiler toolchain
Refs #137927
* chore: bump electron@16.0.3
* ci: fix compile flags for the c toolchain
* chore: bump electron@16.0.4
* Add experimental dark mode flag (#139109 )
* Add experimental dark mode flag
* Apply PR feedback
* chore: bump electron@16.0.6
* chore: bump electron@16.0.7
Fixes https://github.com/microsoft/vscode/issues/138792
Fixes https://github.com/microsoft/vscode/issues/139300
* chore: experimental highlight API
* smoke - fix compile issue
* FIXME: custom ELECTRON_RUN_AS_NODE with node worker
* Revert "chore: bump electron@16.0.7"
This reverts commit 5fd01cf37c .
* Revert "Revert "chore: bump electron@16.0.7""
This reverts commit a7f1b73951 .
* chore: fix github linux workflow
* chore: address review feedback
* chore: bump electron@16.0.8
* ci: revert to stretch distro for linux arm
Refs https://github.com/microsoft/vscode/issues/137927
* ci: force build
* chore: update yarn.lock
* address feedback
* Revert "FIXME: custom ELECTRON_RUN_AS_NODE with node worker"
This reverts commit 7b48fa3732 .
* ci: fix remote folder build
* chore: fix github linux ci
* 🆙 `versionSpec`
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com >
Co-authored-by: Raymond Zhao <raymondzhao@microsoft.com >
2022-02-08 20:09:00 +01:00
Johannes Rieken
765d2ef252
add doc for padding-left/right, add doc for inlay hint kind but also remove InlayHintKind#other, https://github.com/microsoft/vscode/issues/16221
2022-02-08 18:37:43 +01:00
Johannes Rieken
627d46551d
support double click gesture on inlay hints, API polish, https://github.com/microsoft/vscode/issues/16221
2022-02-05 14:25:37 +01:00
Matt Bierner
df09257f2e
Make sure we pass along windows style paths to pluginProbeLocations
2022-02-03 17:10:43 -08:00
Matt Bierner
2b92835853
Move js/ts language configs to json file
...
Fixes #125748
2022-02-03 11:38:09 -08:00
Raymond Zhao
9b75370b4a
Modify click-here link on type init fail msg
...
Ref #140059
2022-02-03 10:52:52 -08:00
Matt Bierner
571a3c3a55
Don't try tacking on a tsconfig.json if the file already has a json ext
2022-02-03 09:59:10 -08:00
Matt Bierner
92616196f8
💄
2022-02-03 09:59:10 -08:00
Matt Bierner
94a3d96861
Fix missing semicolons
2022-02-03 09:59:10 -08:00
Vitaly
c134702cc4
Resolve correct link path for tsconfig.extends ( #141062 )
...
* fix(ts-features-extension): resolve correct path for `extends` of tsconfig
fixes #131643
* always provide link. add command to resolve the link path on click
* cleanup
just make the code cleaner
* revert `yarn.lock` changes
* pretending eslint
* use `vscode.open`
* don't add `.json` to path if it's already here
this change better conforms the TS resolving algorithm (see the reference)
* style: move `resolveNodeModulesPath` to top level
* don't show falsy errors on absolute paths
* improve resolveNodeModulesPath impl
- fixed a bug with infinite loop
- check for module existence once per level
2022-02-03 09:37:00 -08:00
Matt Bierner
69896100ed
Add MarkdownString.baseUri proposal ( #142055 )
...
For #142051
2022-02-03 08:51:49 -08:00
Andrew Jones
9dc211a499
fix indentation ( #141997 )
...
* fix indentation
* add tests
* make regex valid
2022-02-02 19:51:57 -08:00
Johannes Rieken
4a130c40ed
enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391
2022-02-02 14:35:33 +01:00
Matt Bierner
90b50dc7e2
Use ?. in a few more places
2022-02-01 13:59:12 -08:00
Martin Aeschlimann
d971263085
remove the last typescript-vscode-sh-plugin references
2022-02-01 17:38:36 +01:00
Matt Bierner
ce119308e8
Allow using language override for more js/ts settings
...
Fixes #141912
2022-01-31 18:03:51 -08:00
Matt Bierner
1ab6e6fd06
Pass in doc instead of doc uri
2022-01-31 17:41:03 -08:00
Matt Bierner
c33f53e1f2
Pass language desc around instead of modeid
2022-01-31 17:21:55 -08:00
Matt Bierner
2a1274e4a9
Pass around language desc object instead of ids
2022-01-31 17:21:55 -08:00
Matt Bierner
babda1e42e
Align name of languageIds with vscode api
2022-01-31 17:21:55 -08:00
Matt Bierner
42914f99ab
Scope JS/TS inlay hints settings per-resource
...
Fixes #140414
2022-01-31 17:21:54 -08:00
Matt Bierner
967370319a
Remove export
2022-01-25 12:55:37 -08:00
Logan Ramos
c047af40b2
Fix compilation
2022-01-19 16:18:14 -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
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
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
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
Matt Bierner
06fe6b7d2b
Bump browser TS version
2021-11-04 17:30:01 -07:00