Commit Graph

2037 Commits

Author SHA1 Message Date
Matt Bierner
98b069c041 Work towards getting isolated built-in extension compiles
For #271167

This makes it so our built-in extensions can mostly be built using `tsc` on the command line. Previously the extensions were picking up a lot of typing info from the root `node_modules` that meant they weren't truly independent
2025-10-13 11:03:20 -07:00
Matt Bierner
ff4c31cbec Reduce any usage in ts extension
Follow up on #269213
2025-10-06 13:59:38 -07:00
Matt Bierner
4d32398e42 Fix checking $traceid for empty args 2025-10-06 10:10:49 -07:00
Matt Bierner
21337a4ad0 Add assertion 2025-10-03 14:45:09 -07:00
Matt Bierner
cb01224865 Fix all any casts in TS extension
For #269213
2025-10-03 14:01:27 -07:00
Matt Bierner
360c9fd134 Add lint rule for as any and bulk ignore all existing breaks
For #269213

This adds a new eslint rule for `as any` and `<any>({... })`. We'd like to remove almost all of these, however right now the first goal is to prevent them in new code. That's why with this first PR I simply add `eslint-disable` comments for all breaks

Trying to get this change in soon after branching off for release to hopefully minimize disruption during debt week work
2025-10-02 23:38:33 -07:00
Matt Bierner
d26ff4659d Merge pull request #269402 from mjbvz/dev/mjbvz/outside-capybara
Only disable built-in TS if TS go is installed
2025-10-01 10:57:22 -07:00
Matt Bierner
4151d4bc5e Only disable built-in TS if TS go is installed
Fixes #269036

We should check both the setting that the native extension is actually installed
2025-10-01 10:41:09 -07:00
Matt Bierner
9b6c88bf2f Remove restart call when enabling TS native
Fixes #266087

Should no longer be required after upstream changes
2025-10-01 10:33:04 -07:00
Matt Bierner
76f5e55dae Fix missing localized string 2025-09-22 15:54:48 -07:00
Matt Bierner
6303bf7e37 Merge pull request #266088 from mjbvz/permanent-wolf
Don't require restart when switching to TS native
2025-09-10 15:59:54 -07:00
Matt Bierner
cd05e0cb6c Remove copilot from strings and localize them
Fixes #264155
2025-09-10 14:59:11 -07:00
Matt Bierner
5ba9efdf40 Don't require restart when switching to TS native
For #266087

Dynamically registers / unregisters the language features
2025-09-10 13:13:55 -07:00
Matt Bierner
6752afe8ad Merge pull request #261560 from microsoft/copilot/fix-260168
Enable strict by default in implicit js/ts projects
2025-08-14 12:36:38 -07:00
Matt Bierner
73e6d6a0a2 Enable a few more stylistic eslint options for my extensions 2025-08-14 10:42:20 -07:00
copilot-swe-agent[bot]
5f1c49b2e4 Remove unit tests as requested in PR feedback
Co-authored-by: mjbvz <12821956+mjbvz@users.noreply.github.com>
2025-08-14 16:44:43 +00:00
copilot-swe-agent[bot]
822232673f Add js/ts.implicitProjectConfig.strict setting for implicit projects
- Add strict property to ImplicitProjectConfiguration class
- Update inferredProjectCompilerOptions to handle strict setting
- Add configuration setting to package.json with default true
- Add localization string for the new setting
- Create unit tests for the new functionality

This enables strict mode by default in implicit JS/TS projects, aligning with TS 6.0.

Co-authored-by: mjbvz <12821956+mjbvz@users.noreply.github.com>
2025-08-14 00:35:19 +00:00
Matt Bierner
fa28a15d0c Disable js/ts for chat-editing-text-model files 2025-08-12 13:38:07 -07:00
Matt Bierner
ed71020bfc Convert extension webpack scripts to modules 2025-08-07 17:20:22 -07:00
Matt Bierner
d8c9852fe9 Don't use experimental decorators in extensions
Seeing if we can compile our extensions using TS native which doesn't support these. The usage is so low that I think we can just remove them
2025-08-06 13:24:19 -07:00
Matt Bierner
949aadab93 Bump implicit js/ts target to ES2024 2025-08-05 10:46:13 -07:00
Matt Bierner
7094490c32 Remove expandable hover setting
Seems like there's no downside in keeping this enabled by default for everyone
2025-07-23 12:37:03 -07:00
Matt Bierner
d21a5769dd Merge pull request #256256 from andy0130tw/andy0130tw/support-locale-argument-in-tsserver-web
Support the locale argument of TypeScript language server on the web version (#256252)
2025-07-16 13:35:44 -07:00
Matt Bierner
cdc005d1cb Fix a few expect error and bump web version 2025-07-16 11:10:43 -07:00
Matt Bierner
e624e6aee4 Pick up TS 5.9-beta for built-in support 2025-07-16 11:02:20 -07:00
Andy Pan
2092c72652 Let typescript-language-feature support locale argument in web environment 2025-07-16 21:38:20 +08:00
Martin Aeschlimann
6dd2b84fa2 Merge pull request #254690 from madskristensen/schemastore-subdomain-fix
Updated references to schemastore.org
2025-07-11 12:10:29 +02:00
Matt Bierner
a72da85587 Merge branch 'main' into tmm1/ts-integration-results 2025-07-10 15:23:26 -07:00
Gabriel Csapo
8746da1b14 Merge branch 'main' into gcsapo/adds-log-level-for-tsserver 2025-07-09 16:46:54 -07:00
Gabriel Csapo
b2152a7418 chore: updates server.log enum 2025-07-09 11:29:39 -07:00
Mads Kristensen
434260839e Updated references to schemastore.org 2025-07-08 09:48:52 -07:00
Aman Karmani
8b7988cffd [engineering] ensure typescript integration tests emit junit reports
not sure if this was intentional but it seems like an oversight
2025-07-01 16:45:28 -07:00
Jean Pierre
0140ab3f1b Do not check for navigator to detect web environment in built-in extensions (#251688)
Do not check for navigator to detect web environment
2025-06-18 04:37:42 +00:00
Gabriel Csapo
c4c7118590 feat: adds (requestTime) logLevel to match tsserver options 2025-06-05 15:57:40 -04:00
Dirk Baeumer
bd9d26deb3 Add pending commands in queue order 2025-05-19 21:30:24 +02:00
Dirk Baeumer
155d317f52 Always capture command in callback 2025-05-19 20:53:57 +02:00
Dirk Baeumer
1b196d8046 Print queued command and pending response command names 2025-05-19 19:12:12 +02:00
Matt Bierner
300ecf77f3 Merge branch 'main' into hoverlimit 2025-05-15 08:31:59 -07:00
Dirk Baeumer
9afa156c10 Rename id to traceId and add pending responses value. 2025-05-14 18:19:13 +02:00
Ebrahim
866c2ebb9d Fix typo in quickFix.ts and ensure correct grammar in references-view README 2025-05-13 14:59:00 +03:00
Robo
12326f9906 chore: update to Electron 35 (#245423)
* chore: bump electron@35.0.1

* chore: update types/node@22.x

* chore: update web types for node v22.x

* chore: bump electron@35.1.2

* chore: update node.js build

* chore: update app.dock usage

Refs 71f3ff6bf2

* chore: bump electron@35.1.4

* chore: bump electron@35.1.5

* ci: bump sysroot to glibc 2.28 and gcc 10.5.0

* ci: enable timeout for smoketests

* chore: bump min glibcxx to 3.4.26 for server

* Revert "ci: enable timeout for smoketests"

This reverts commit afb637e85d.

* chore: update debian dependencies

* fix: workaround npm.ps1 argument parsing with powershell

* chore: update rpm dependencies

* test: partially revert changes from 242535

* test: remove redudant keybinding dispatch for selectTab

* test: fix test failure from running configured tasks

* test: focus settings editor for preferences.test.ts

* node - adopt compile cache (#246835)

* node - adopt compile cache

* adopt for utility process

* tweaks

* log state of compilation cache

* Revert "log state of compilation cache"

This reverts commit f3840387a583013834762e2c44f6e8424929297f.

* Revert "node - adopt compile cache (#246835)"

This reverts commit 673a00cab66c9bac87f3cd27b80efa41c80150f1.

* chore: update builds

* chore: bump electron@35.2.0

* chore: bump electron@35.2.1

* chore: bump electron@35.2.2

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2025-05-09 19:03:36 +09:00
Gabriela Araujo Britto
3b6f73a45e Merge branch 'main' into hoverlimit 2025-05-07 11:35:35 -07:00
Gabriela Araujo Britto
be966956c7 fix setting name 2025-05-07 11:34:40 -07:00
Gabriela Araujo Britto
56e2f3c5c4 refactor config path 2025-05-07 11:31:47 -07:00
Matt Bierner
8067943119 Remove a few deprecated settings for js/ts
These settings have been marked deprecated for a while
2025-05-07 10:24:23 -07:00
Gabriela Araujo Britto
7a1d5016f8 add maximum hover length 2025-05-05 13:57:09 -07:00
Matt Bierner
d0ef6aa62a Create settings section for inlay hints
When I split out these, I forgot to include inlay hints too
2025-05-01 13:26:22 -07:00
Matt Bierner
5a441fa442 Merge pull request #245713 from Victuracor/main
Fix a typo in extensions/typescript-language-features/package.nls.json
2025-04-30 08:51:01 -07:00
Matt Bierner
0b8acee845 Merge pull request #246858 from andrewbranch/tsgo
Allow disabling built-in TS/JS extension in favor of tsgo
2025-04-29 15:36:52 -07:00
Matt Bierner
8e4cfe00c3 Merge branch 'main' into main 2025-04-29 15:16:57 -07:00