Commit Graph

1636 Commits

Author SHA1 Message Date
Sandeep Somavarapu
6f5a7f83b8 implement mcp server gallery view (#248926)
* first cut

* change schema and types

* show mcp servers in extensions view

* implement install and uninstall mcp server

* move imports

* fix layer check
2025-05-14 07:54:41 -07:00
Johannes Rieken
505092bbf7 Towards useDefineForClassFields (#248695)
* final init order fixes https://github.com/microsoft/vscode/issues/243049

* a few more fixed when compiling with `"useDefineForClassFields": true`

https://github.com/microsoft/vscode/issues/243049 and https://github.com/microsoft/vscode/issues/186726

* add a dry-check that ensures we can/could compile/emit with explicitly defined class fields

https://github.com/microsoft/vscode/issues/186726
2025-05-12 11:46:15 +02:00
Johannes Rieken
b2cc6acd95 fix property order (#248518)
https://github.com/microsoft/vscode/issues/243049
2025-05-09 16:29:18 +02:00
Henning Dieterichs
ec56ae1173 Removes fixed files from propertyInitOrderChecker ignored list. (#248491) 2025-05-09 10:32:23 +00: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
Johannes Rieken
cb0950e9d7 Migrate github extension to ESM (2nd attempt) (#248312)
* Revert "GitHub - revert ESM migration (#247322)"

This reverts commit 2047ab0fff.

* use `"@vscode/extension-telemetry": "^1.0.0"` which doesn't use default export anymore
2025-05-07 15:52:46 +02:00
Justin Chen
94590884c8 refactor ui element selection to standalone service (#248185)
* big refator to ui element's own service

* move native to own file

* add native type

* fix in layer checker

* fix in layer checker

* fix whitespace

* fix another whitespace

* Update layersChecker.js

* build still not passing

* Update layersChecker.js

* update layerChecker using npm run compile

* try updating layer checker rules

* rename simple browser service

* another rename in app.ts
2025-05-07 01:24:21 -07:00
Ladislau Szomoru
5c6c9930b1 Engineering - add missing colors (#247827) 2025-04-30 10:44:11 +02:00
Ladislau Szomoru
2047ab0fff GitHub - revert ESM migration (#247322)
* Revert "fix github extension bundling (#247314)"

This reverts commit 0cffb673f5.

* Revert "migrate github-extension to ESM"

This reverts commit 493874c390.

* Add missing JS file
2025-04-24 19:24:59 +02:00
Megan Rogge
edcb3e4aa9 ensure properties are initialized before usage (#247312) 2025-04-24 16:49:23 +02:00
Johannes
dfc4d128fa add missing JS file 2025-04-16 17:04:27 +02:00
Johannes
493874c390 migrate github-extension to ESM 2025-04-16 16:04:12 +02:00
Ladislau Szomoru
7452464515 SCM - add secondary quick diff provider (#246707)
* WIP - initial implementation

* Add stagedQuickDiffProvider API

* Reduce the usage of `isSCM`

* Make unstage feel snappier

* Deduplicate diffs between primary and secondary

* Fix unstage selected ranges to work from the editor

* WIP - saving my work

* Fixed deduplication and commands

* Add pattern colors

* Rework the colors, and fix deleted glyph

* Got unstage commands working

* Update provider name

* Some improvements

* Cleaned up CSS

* Tweak decoration colors

* Update proposed API naming

* Contributed decorations will use the primary colors for the time being

* More cleanup
2025-04-16 12:52:36 +02:00
Connor Peet
c5759394bf mcp: support streamable HTTP (#246557)
This PR adds support for 'streamable HTTP' MCP servers. This is
backwards-compatible with existing SSE servers. We'll first try to
initialize the server in streamable HTTP mode, and then fall back to
legacy SSE if that fails.

This PR also adds our own small SSE parser, `eventsource` was too high
level to do what we need to do.

Refs https://github.com/microsoft/vscode/issues/244751
2025-04-14 23:40:28 +00:00
Benjamin Pasero
f0bb1b8ee0 debt - remove deprecatedExtensionMigrator.contribution.ts (#245881) 2025-04-07 17:02:18 +02:00
Aiday Marlen Kyzy
0fcff83aab Fixing property initializiation order (#245673)
fixing property initializiation order
2025-04-04 15:12:47 +02:00
Johannes Rieken
3561b4e9cd fix property init orders (#245412)
* fix property init order in `anythingQuickAccess.ts`

https://github.com/microsoft/vscode/issues/243049

* update list

https://github.com/microsoft/vscode/issues/243049
2025-04-03 09:10:34 +02:00
Johannes Rieken
ae58d15a98 remove unused property (#245411)
https://github.com/microsoft/vscode/issues/243049
2025-04-03 09:09:59 +02:00
Oleg Solomko
7ec70cbc51 fix class property order issue for the PromptsService class 2025-04-02 10:08:59 -07:00
Oleg Solomko
a0a58191db fix class property order issue for the PromptReference class 2025-04-02 10:08:59 -07:00
Oleg Solomko
c0b74b7db1 fix class property order issue for the TextModelContentsProvider class 2025-04-02 10:08:59 -07:00
Sandeep Somavarapu
a1d5b448c1 Fix property init order (#245255) 2025-04-01 19:55:30 +02:00
Johannes Rieken
95939ffaf6 Merge pull request #237450 from tmm1/tmm1/build-improvements
tsb: small build improvements
2025-04-01 12:30:55 +02:00
Johannes Rieken
b8cdd08a18 prepare for init order changes in terminalTypeAheadAddon.ts (#245228)
fyi @Tyriar

https://github.com/microsoft/vscode/issues/243049
2025-04-01 12:29:49 +02:00
Johannes Rieken
938caeaa2f Merge branch 'main' into tmm1/build-improvements 2025-04-01 11:59:57 +02:00
Connor Peet
966a672107 testing/debug: cleanup property initialisation order changes (#245186)
Refs #243049
2025-04-01 01:19:15 +02:00
Matt Bierner
d49d8f046a Merge pull request #225145 from mjbvz/hidden-spider
Enable `noUncheckedSideEffectImports`
2025-03-31 11:03:17 -07:00
Johannes Rieken
80adefd46b fix property order in arrays (#245117)
https://github.com/microsoft/vscode/issues/243049
2025-03-31 13:20:36 +02:00
Matt Bierner
443a1af101 Make sure css typings are also used for editor build 2025-03-28 16:07:58 -07:00
Matt Bierner
526705b491 Merge pull request #244485 from mjbvz/tasty-lion
Pick up latest TS for building VSCode
2025-03-28 11:24:19 -07:00
João Moreno
06b480f0e2 fixes #243131 (#244755) 2025-03-26 16:46:21 +01:00
Sandeep Somavarapu
fbdf6dd079 fix parsing policies (#244562) 2025-03-25 11:10:34 +01:00
Matt Bierner
b998a666c0 Fix layer check errors 2025-03-24 15:00:51 -07:00
Megan Rogge
d06556da99 register terminal suggest colors/ icons (#244286) 2025-03-21 12:21:31 -07:00
Alex Dima
b5e4fea275 Simplify buildfile around web workers 2025-03-21 10:32:35 +01:00
Alex Dima
ce0b72f9ce Delete unused code 2025-03-20 23:34:14 +01:00
Alex Dima
91f0cb7b90 Add nls info to monaco-editor-core and remove left-over AMD tasks 2025-03-20 14:53:50 +01:00
Connor Peet
c6ebae0ac0 Merge pull request #243886 from microsoft/connor4312/mcp-input-deco
configurationResolver: simplify and allow introspection
2025-03-18 10:59:37 -07:00
Connor Peet
2ff4921966 eng: allow structuredClone (since node 17/chrome 98) in all layers 2025-03-18 10:11:32 -07:00
Benjamin Christopher Simmonds
fc498c1ba6 First iteration of NES widget update (#243554)
* first iteration of NES widget changes

* 💄

* sidebyside

* word replacement view

* 💄
2025-03-18 17:28:46 +01:00
Connor Peet
248739282e mcp: support sse (#243621)
* mcp: support sse

Didn't seem like Claude Desktop configs have SSE support yet, but I did
the obvious of having an object with a `url`. I also added a `type`
(optional for stdio) so we can better disambiguate types of configs.

Example .vscode/mcp.json:

```
{
  "servers": {
    "everything": {
      "type": "sse",
      "url": "http://localhost:3001/sse"
    }
	}
}
```

Closes #243242

* update layer check
2025-03-15 06:32:00 +00:00
Josh Spicer
9595934bdb Generate macOS configuration profiles (#241773)
* generate configuration policy and manifests

* add darwin pipeline job

* argument for per-platform generation of policy

* adopt argument in pipeline

* formatting tweaks in generated profile (+ check in .js file)

* tidy up output plists

* copy policy definitions

* implement the remaining renderProfileValue()

* remove unnecessary platform option

* copy to .app in vscode-darwin-$PLATFORM-min-ci gulp task

* add darwinProfileUUID and darwinProfilePayloadUUID to product.json

* better way to package in gulp script

* bump distro commit (c3ec5ba485)

* Add bundles policy paths to macOS universal build 'filesToSkip'

Needs this when creating universal macOS app:

Expected all non-binary files to have identical SHAs when creating a universal build
but "Contents/Resources/app/policies/cs-cz/com.microsoft.VSCodeInsiders.plist" did not

See:
298a872f5f/src/index.ts (L163-L172)
2025-03-13 17:12:25 -07:00
Martin Aeschlimann
92815973e1 remoteIndicator: Debt - prepare for property initialisation order changes (#243463) 2025-03-13 16:55:18 +01:00
João Moreno
b59ae26ad3 fix policy generation (#243429)
cc @justschen
2025-03-13 10:24:52 +01:00
Connor Peet
03eaada7dc Merge pull request #243275 from microsoft/connor4312/mcp-secrets
mcp: securely store mcp inputs
2025-03-12 10:37:57 -07:00
Simon Lamon
bdc8c07580 High contrast gutter items (#240906)
High contract gutter items
2025-03-12 10:07:22 +00:00
Benjamin Christopher Simmonds
7c64719ac9 insertion view init order fix (#243316)
init order
2025-03-12 11:04:04 +01:00
Benjamin Christopher Simmonds
52e197c533 Fix initialization orders for inline edits (#243310)
fix init orders
2025-03-12 10:37:16 +01:00
Connor Peet
0a721d35a2 update layer check 2025-03-11 17:01:42 -07:00
Benjamin Pasero
0e6e6d2bff debt - prepare for property initialisation order changes #243049 (#243184)
* debt - prepare for property initialisation order changes #243049

* missing

* omg?
2025-03-11 14:32:59 +00:00