1790 Commits

Author SHA1 Message Date
Samuel Rigaud
e975fc9be8
test: fix typos (#247259)
Co-authored-by: Samuel Rigaud <rigaud@gmail.com>
2025-04-23 23:38:49 +00:00
Sandeep Somavarapu
760b96eca6
wait until extension is installed - if it is taking longer. Fix #245396 (#245863) 2025-04-07 13:55:11 +02:00
Benjamin Pasero
a8c6b3fd45
Improve process termination handling in smoke tests (#245434)
* Improve process termination handling in smoke tests

* .
2025-04-03 12:31:04 +02:00
Benjamin Pasero
621392c665
refactor: enhance process instance registration and termination logging (#245409) 2025-04-03 09:49:38 +02:00
Benjamin Pasero
cf1cfc5f0d
fix: improve process termination handling in launch and Code class (#245380) 2025-04-02 21:24:07 +02:00
Benjamin Pasero
3edf73df8a
tests - drop more flags (#245357) 2025-04-02 11:33:09 -07:00
Benjamin Pasero
8cd6551cb8
smoke - drop option to use swiftshader (#245354) 2025-04-02 17:38:55 +02:00
Benjamin Pasero
992c6150c3
smoke - try to kill earlier when its safe (#245347) 2025-04-02 16:51:10 +02:00
Benjamin Pasero
10fc28b3b8
tests - enable verbose arg for extension installation tests (#245320) 2025-04-02 13:33:19 +02:00
Benjamin Pasero
71c9069cd8
smoke - try to avoid tree-kill for terminating process (#245330)
On Linux, this will also attempt to kill the zygote process (which is a child of the main process). This causes all sorts of issues.

Also, our integration tests just kill the main process and not a tree of processes, so we can align here.
2025-04-02 12:52:35 +02:00
Benjamin Pasero
4bf8005553
Revert "Revert "smoke - try to exit via close also for Electron"" (#245318) 2025-04-02 11:46:27 +02:00
Benjamin Pasero
377d060721
Revert "smoke - try to exit via close also for Electron" (#245304) 2025-04-02 08:09:11 +02:00
Benjamin Pasero
ac27be2456
smoke - try to exit via close also for Electron (#245253) 2025-04-01 21:03:10 +02:00
Benjamin Pasero
c8d1124a06
smoke - kill electron app if unhealthy (#245226) 2025-04-01 17:58:36 +02:00
Benjamin Pasero
7d2083ed1d
tests - allow to run our tests in chrome or msedge (#244969) 2025-03-28 08:17:16 -07:00
Alex Dima
c36caf1bf7
EditorSimpleWorker -> EditorWebWorker 2025-03-21 10:13:39 +01:00
Alex Dima
46035d0296
Split up the editor's worker and the editor worker helper scripts, remove AMD support 2025-03-20 18:37:55 +01:00
João Moreno
6151dca574
remove watch module (#243208) 2025-03-11 16:21:23 +00:00
Daniel Imms
d750544dc3
Fix shell integration smoke test flake
The problem was caused by zsh being out of date causing the shell
initialized check to not work properly as the prompt was delayed after
that.

Fixes #242739
2025-03-10 06:02:42 -07:00
Aaron Munger
469d54e912
call the generator function (#242912)
call the function

Co-authored-by: amunger <>
2025-03-07 10:54:22 -08:00
Aiday Marlen Kyzy
fa548237be
Adding acceptance condition to dispatchKeybinding in smoketests (#242570)
* adding code for smoke tests

* adding awaits

* changing wait code

* renaming dispatch to send

* moving comment

* update to send
2025-03-05 11:38:48 +01:00
Raymond Zhao
54b12e5ec8
Copy UUID impl (#231347) 2025-03-03 09:29:59 -08:00
João Moreno
ae43cc72b6
make unit tests faster (#241847) 2025-02-25 15:18:20 +01:00
Alex Ross
cf46a56bd4
Disable changes "workbench.action.toggleSidebarPosition" command key binding and verifies it (#239820) 2025-02-06 09:18:24 -08:00
Oleg Solomko
1195e2cf77
fix the the the typos (#239646)
fix the `the the` -> `the` typos
2025-02-04 15:35:23 -08:00
Aiday Marlen Kyzy
060de16f9d
Directly accepting editor selection when using text area edit context (#239211)
* allowing two offsets

* changing to true
2025-01-30 14:53:12 +00:00
Aiday Marlen Kyzy
4b2a52e942
Fixing smoketests, using different selection offsets depending on product quality (#239108)
fixing smoketests, using different selection offsets
2025-01-29 16:53:18 +01:00
Benjamin Pasero
5e667f741b
smoke tests - run with snapshots: true for tests that install extensions (#238855) 2025-01-27 17:30:59 +01:00
Johannes
d96ee375ea
fix tests 2025-01-24 08:46:16 +01:00
João Moreno
6cd86f433d
fix flakiness in extension smoke tests (#238537) 2025-01-23 10:23:39 +01:00
Aiday Marlen Kyzy
3ff1dceedf
Enable edit context (#237497)
* Revert "Revert Enablement of EditContext on Insiders (#235062)"

This reverts commit 45385e1c6f93a89a7992c0baacac62792434adac.

* adding product import

* adding som code

* removing console logs

* make sure editor selection is observed after keybinding dispatches

Co-authored-with: Aiday Mar <amarlenkyzy@microsoft.com>

* removing empty lines

---------

Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2025-01-13 09:47:32 +01:00
Aiday Marlen Kyzy
be5c64a3df
Revert "Enable edit context" (#237468)
Revert "Enable edit context (#235386)"

This reverts commit 3958e26f650620710d7bc02e70a580cc18c0cbc5.
2025-01-08 11:43:30 +01:00
Aiday Marlen Kyzy
3958e26f65
Enable edit context (#235386)
* Revert "Revert Enablement of EditContext on Insiders (#235062)"

This reverts commit 45385e1c6f93a89a7992c0baacac62792434adac.

* adding product import
2025-01-07 10:00:03 +01:00
Johannes Rieken
17f6bcb7d2
chore - modernise test runner (#235511)
async/wait, remove AMD/ESM split, cleanup
2024-12-06 18:53:29 +01:00
Aiday Marlen Kyzy
45385e1c6f
Revert Enablement of EditContext on Insiders (#235062)
Revert "Reenabling EditContext by default on Insiders (#234888)"

This reverts commit a47f407e389217d246fc7e07a54615505169988d.
2024-12-03 08:37:57 +01:00
Aiday Marlen Kyzy
a47f407e38
Reenabling EditContext by default on Insiders (#234888)
Revert "Revert "Smoke test failure - changing selectors depending on app qual…"

This reverts commit b8d5339e04c0988ecedd2b59000198989d801b6f.
2024-11-29 11:49:50 +01:00
Johannes Rieken
1994ebabef
tweak inline chat hint (#234821)
* make editor readonly and disable squiggle while inline chat shows reply

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

* tweak inline chat hint

only show on intented empty lines, hide when command run

* fix tests (only disable squiggle, not readonlyness)
2024-11-28 12:58:47 +01:00
Johannes Rieken
e45ebc6d59
fail tests when having unhandled errors (#234673) 2024-11-26 08:32:08 -08:00
Aiday Marlen Kyzy
b8d5339e04
Revert "Smoke test failure - changing selectors depending on app quality" (#234638)
Revert "Smoke test failure - changing selectors depending on app quality (#23…"

This reverts commit b69589ce385eff52cdfedd7ab89ec8b1fb98ad16.
2024-11-26 09:17:31 +01:00
Aiday Marlen Kyzy
b69589ce38
Smoke test failure - changing selectors depending on app quality (#234181)
* changing selector depending on app quality smoke test

* using correct selector

* resetting to just insiders

* focusing if not focused after event

* removing dom node focus
2024-11-21 11:58:33 +01:00
Aiday Marlen Kyzy
8d1d1373cd
Reverting EditContext changes (#234247)
reverting changes
2024-11-20 10:18:20 +01:00
Aiday Marlen Kyzy
d649101bec
Turning on experimental edit context on Insiders (#234071)
* turning on experimental edit context on insiders

* fixing smoke test

* resetting the search input to use the textarea
2024-11-19 10:19:00 +01:00
Robo
e178455531
ci: check for clean git state in npm validation (#230479) 2024-10-04 11:04:18 -07:00
Benjamin Pasero
c5b6ef14e6
esm - more cleanup (#230285) 2024-10-02 11:55:17 +02:00
Benjamin Pasero
f09184ceb7
esm - set type: module top level (#230210) 2024-10-01 20:48:56 +02:00
Benjamin Pasero
3b68a06818
esm - removal of CSS loader (#230206) 2024-10-01 19:24:18 +02:00
Benjamin Pasero
332b89f198
esm - remove AMD build scripts, tests and variables 2024-09-27 08:04:01 +02:00
Benjamin Pasero
789c320a1c
Replace mkdirp with fs.mkdirSync(path, { recursive: true }) (#228017)
* Replace mkdirp with fs.mkdirSync(path, { recursive: true })
(fix #227931)

* compile
2024-09-09 22:43:29 -07:00
dependabot[bot]
2a4d7851ef
Bump pathval from 1.1.0 to 1.1.1 in /test/monaco (#227783)
Bumps [pathval](https://github.com/chaijs/pathval) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/chaijs/pathval/releases)
- [Changelog](https://github.com/chaijs/pathval/blob/master/CHANGELOG.md)
- [Commits](https://github.com/chaijs/pathval/compare/v1.1.0...v1.1.1)

---
updated-dependencies:
- dependency-name: pathval
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-07 11:43:31 +09: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 8b49e9dfdf

* 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 737c95a129

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 beed9aee2c

* 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 d3cc84cdec
while still having the fix 8b49e9dfdf

* 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