Commit Graph

58 Commits

Author SHA1 Message Date
Tyler James Leonhardt 8978366531 Move .claude creation for testing agent harness to postinstall (#304283)
* Move .claude creation for testing agent harness to postinstall

title says it all

* rest
2026-03-23 23:22:35 +01:00
Osvaldo Ortega 63b43291ff Merge branch 'main' of https://github.com/microsoft/vscode into copilot-worktree-2026-02-27T00-36-54 2026-03-10 14:57:02 -07:00
Paul 21d682f185 Allow local customizations (#300298) 2026-03-10 01:00:21 +00:00
Osvaldo Ortega 8368928f8e Save failure screenshots to out/ instead of repo root
Screenshots from failed E2E steps now go into out/ (already gitignored)
rather than the repo root. Remove the failure-*.png and sessions-*.png
entries from root .gitignore since they're no longer needed.

Also remove shebang from run.js to pass copyright hygiene check.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-03 20:51:46 -08:00
Osvaldo Ortega 2a4fe892ca Remove obsolete failure and session images from the repository 2026-03-03 18:49:30 -08:00
Osvaldo Ortega cf8edf1222 Remove .playwright-cli from git and add to .gitignore
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-03 18:44:59 -08:00
Henning Dieterichs 155c18ecfc updates component explorer (#296938)
* updates component explorer

* updates package.json

* fix screenshot CI: install build/ dependencies for jsonc-parser

* sets relative base

* updates lockfile
2026-02-23 11:44:35 +01:00
Henning Dieterichs 2751fb4d2f adds component explorer 2026-02-20 19:57:07 +01:00
Robo 61a6cf5929 refactor: pull dmgbuild from repo (#291949)
* refactor: pull dmgbuild from repo

* ci: update python version

* chore: try with homebrew

* chore: fix binary path
2026-02-20 10:14:11 +01:00
Alex Ross 10abebd051 Get codicons from node module (#289705)
* Revert "Revert codicon change (#289683)"

This reverts commit de6f371a92.

* Always run postinstall

* Two more places

* Move codicon copy into compilation

* Fix pipelines

* Update readme

* Fix watch task

* Move copy codicons

* MIssed some spots

* Error handing

* Fix path
2026-01-26 12:13:48 +01:00
Alex Ross de6f371a92 Revert codicon change (#289683)
Revert "Copy codicons file as part of the build (#289411)"

This reverts commit 08d958aa2b.
2026-01-22 17:08:50 +00:00
Alex Ross 08d958aa2b Copy codicons file as part of the build (#289411)
* Copy codicons file as part of the build

Part of #283823

* Merge branch 'main' into alexr00/inadequate-skink

* Remove unneeded changes

* Add readme

* Merge branch 'main' into alexr00/inadequate-skink

* Error handling for copy

* Do copy for editor

* Merge branch 'main' into alexr00/inadequate-skink

* Bump codicon version
2026-01-22 15:57:44 +01:00
Copilot 2b514ef202 Fix disposed store error in DetachedTerminalSnapshotMirror (#289154) 2026-01-21 21:31:36 +00:00
Tyler James Leonhardt b20a91e37a Add data prompt (#267543)
For querying telemetry data. Uses the Azure MCP Server's kusto tool.
2025-09-19 16:00:11 -07:00
Remco Haszing 1773a9fcc9 Add *.tsbuildinfo to .gitignore
The `.tsbuildinfo` file is generated by TypeScript when using certain
compiler options or running `tsc --build`.
2025-07-05 12:28:14 +02:00
Robo b5a6aa14a8 feat: switch to npm as default package manager (#226927)
* feat: move from yarn to npm

* chore: skip yarn.lock files

* fix: playwright download

* chore: fix compile and hygiene

* chore: bump vsce@2.17.0

Refs https://github.com/microsoft/vscode-vsce/commit/8b49e9dfdf909ad3af2b9ec9c825f5b501f6d75e

* test: update results for bat and sh colorizer tests

* fix: add missing lock files for windows

* fix: switch to legacy-peer-deps

* chore: update markdown-it@14.1.0

Refs https://github.com/markdown-it/markdown-it/commit/737c95a12976357df99652e4b51d831cac4a75aa

esbuild step in extensions-ci-pr was previously using markdown-it
from root which had userland punycode and was able to compile successfully.

* ci: increase pr timeout for windows integration tests

* chore: fix product build

* build: ignore extension dev dependency for rcedit

* build: fix working directory inside container

* build: fix dependency generation

* npm: update dependencies

* ci: use global npmrc

* ci: update cache

* ci: setup global npmrc for private npm auth

* build: fix extension bundling

* chore: sync npm dependencies

* ci: debug env variables for container

* ci: fix win32 cli pipeline

* build: fix npmrc config usage for build/ and remote/ dirs

* fix: windows build

* fix: container builds

* fix: markdown-language-features tests and bundling

```
[03:58:22] Error: Command failed: /Users/demohan/.nvm/versions/node/v20.15.1/bin/node /Users/demohan/github/vscode/extensions/markdown-language-features/esbuild-notebook.js --outputRoot /Users/demohan/github/vscode/.build/extensions/markdown-language-features
✘ [ERROR] Could not resolve "punycode"

    extensions/markdown-language-features/node_modules/markdown-it/lib/index.js:14:27:
      14 │ var punycode     = require('punycode');
         ╵                            ~~~~~~~~~~

  The package "punycode" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
```

Adds userland package based on https://github.com/markdown-it/markdown-it/commit/beed9aee2c1b44819afc25d485e86a6c699b6ef0

* fix: container builds for distro

* chore: update yarn occurrences

* fixup! chore: bump vsce@2.17.0

Uses the closest version to `main` branch that does not
include https://github.com/microsoft/vscode-vsce/commit/d3cc84cdec99b8e9f24be63d1a2a54abe908f68b
while still having the fix https://github.com/microsoft/vscode-vsce/commit/8b49e9dfdf909ad3af2b9ec9c825f5b501f6d75e

* chore: sync npm dependencies

* chore: sync npm dependencies

* chore: sync npm dependencies

* chore: throw error when yarn is used for installation

* chore: add review feedback

* chore: switch exec => run where needed

* chore: npm sync dependencies

* fix: markdown-language-features bundling

```
✘ [ERROR] Could not resolve "punycode"

    extensions/markdown-language-features/node_modules/markdown-it/lib/index.js:14:27:
      14 │ var punycode     = require('punycode');
         ╵                            ~~~~~~~~~~

  The package "punycode" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
```

Adds missing userland package based on markdown-it/markdown-it@beed9ae,
can be removed once we update markdown-it >= 14.1.0

* ci: rename no-yarn-lock-changes.yml

* chore: sync npm dependencies

* ci: restore no-yarn-lock-changes.yml

We can disable it in a separate PR to keep the required
checks happy and also need workflow edit perms.

* chore: sync npm dependencies

* ci: rebuild cache

* ci: fix no-package-lock-changes.yml

* chore: bump distro

* chore: rm yarn.lock files

* chore: rm yarn.lock files without dependencies

* chore: add vscode-selfhost-import-aid to postinstall dirs

* chore: bump distro
2024-09-06 22:18:02 +09:00
Remco Haszing 3c0c7b6a86 Add test-results.xml to .gitignore (#214238)
This file is generated when running integration tests.
2024-09-05 15:02:59 -07:00
Sandeep Somavarapu 337f8e4ee2 adopt building extensions (#207731)
* adopt building extensions
- remove the dependency on extensions folder

* fix build

* rename

* minimise changes

* clean up

* use regex
2024-03-15 15:06:28 +01:00
Connor Peet c2a6932e9e eng: onboard to the extension test runner (#195570)
* eng: onboard to the extension test runner

Adds a `.vscode-test.js` file that uses the new extension test CLI to
run tests. Also, onboards the markdown-language-features as the first
built-in extension to use it.

With the `ms-vscode.extension-test-runner` extension installed, the
markdown-language-features' tests can be run and debugged easily in
the UI :)

* fixup
2023-10-13 13:11:05 -07:00
Connor Peet 6a847ba6d1 eng: add support for snapshot tests (#190444)
* eng: add support for snapshot tests

This adds Jest-like support for snapshot testing.
Developers can do something like:

```js
await assertSnapshot(myComplexObject)
```

The first time this is run, the snapshot expectation file is written
to a `__snapshots__` directory beside the test file. Subsequent runs
will compare the object to the snapshot, and fail if it doesn't match.

You can see an example of this in the test for snapshots themselves!

After a successful run, any unused snapshots are cleaned up. On a failed
run, a gitignored `.actual` snapshot file is created beside the
snapshot for easy processing and inspection.

Shortly I will do some integration with the selfhost test extension to
allow developers to easily update snapshots from the vscode UI.

For #189680

cc @ulugbekna @hediet

* fix async stacktraces getting clobbered

* random fixes

* comment out leak detector, for now

* add option to snapshot file extension
2023-08-15 12:03:51 -07:00
Connor Peet 2138622b04 build: add watch/compile tasks for CLI (#182344)
* build: add watch/compile tasks for CLI

I spent time this morning working on the 'developer experience' of the
CLI in vscode, mainly getting the CLI to cross-compile chasing our
initial idea of having it auto-build in a devcontainer.

After some effort and disabling tunnels connections (to avoid having to
pull in OpenSSL which is a huge pain to cross compile), I was able to
get it to cross-compile from Linux to Windows, using the mingw linker.
I could probably figure out how to get macOS working as well with more
effort. However, I'm not a big fan of this, effectively it's one more
'platform' of build we need to support and test.

I think a better approach is downloading the latest compiled CLI from
the update server instead, as needed. That's what this PR does. It just
places the CLI where it _would_ normally get compiled to by cargo; so
far we don't need to do anything special outside of that.
A notice is shown to users if this fallback happens.

* update from review
2023-06-20 14:34:11 -07:00
Sandeep Somavarapu 4370b66e75 address feedback 2023-04-05 18:05:02 +02:00
Sandeep Somavarapu 622e9d054b empty overrides 2023-04-05 16:36:42 +02:00
Sandeep Somavarapu d8fccd8a92 introduce product.overrides.json 2023-04-05 16:32:01 +02:00
Connor Peet a9e38fe925 ignore rust code when doing hygenie check 2022-09-20 08:49:29 -07:00
Alex Dima 822f995357 Add server folder 2021-10-20 18:42:13 +02:00
Connor Peet 126218be87 main: add a lockfile, and set the user data dir while debugging
See https://github.com/microsoft/vscode/issues/127861#issuecomment-877417451
2021-07-09 12:56:02 -07:00
Matt Bierner 5c0c637a04 Make sure we ignore compiled media files 2021-03-19 12:12:59 -07:00
Matt Bierner fc8d7681c4 Make sure katex styles are shipped under root of
Also copies of just the katex css we need instead of bundling the entire module
2021-03-16 17:43:52 -07:00
Rob Lourens 45f79f8573 Scope gitignore out* pattern
microsoft/vscode#113823
2021-01-05 10:23:42 -08:00
João Moreno 174bfe9b52 simplify gitignore 2021-01-05 11:02:08 +01:00
Dirk Baeumer 21d010d6c7 Exclude LSIF files from Git 2020-09-16 13:50:44 +02:00
Alex Dima 7007770868 Small tweaks 2020-07-27 08:58:38 +02:00
Peng Lyu d9fb87d002 CI for Monaco Editor compile and bundling. 2019-11-12 15:55:21 -08:00
Benjamin Pasero 1648e1dcf8 web - add build 2019-07-14 13:12:54 +02:00
Joao Moreno 74c3542204 gitignore 2019-06-28 16:18:10 +02:00
Martin Aeschlimann 259be0a485 fix gitignore, avoid trailing slashes 2019-06-07 10:31:52 +02:00
Sandeep Somavarapu ba118c0781 add ignore entries for links 2019-06-07 10:15:33 +02:00
Martin Aeschlimann 0343212afd fix duplicate gitignore entries 2019-06-07 09:15:42 +02:00
Sandeep Somavarapu 9cc5310811 add links to git ignore 2019-06-06 17:33:59 +02:00
Martin Aeschlimann ba0a03fe07 fix git ignore 2019-06-06 12:03:19 +02:00
Martin Aeschlimann 064063f81a ignore server bits 2019-06-06 12:00:29 +02:00
Alex Dima 24d42757e9 Layering rules 2019-05-22 13:03:27 +02:00
Andre Weinand 1ae3ff70c2 add .cache to .gitignore 2019-05-22 11:00:21 +02:00
Johannes Rieken 776e491ba4 bundle into dist folder, copy ask-pass shell scripts into dist, some 💄 2018-08-09 15:31:31 +02:00
Alex Dima d8e13dc717 Add a compile-editor-build task 2018-07-20 11:26:31 +02:00
Alex Dima 03103a4f66 Add extract-editor-src with treeshaking task 2018-07-20 11:26:31 +02:00
Joao Moreno 4eceb88ebf wip: build show integration tests 2018-06-11 22:05:12 +02:00
Alex Dima 66091601a5 Ship editor in ESM format 2018-03-15 14:44:15 +01:00
Joao Moreno 12ab70d329 fix line endings 2018-03-05 12:47:11 +01:00