Commit graph

170 commits

Author SHA1 Message Date
Connor Peet 6004a9f716
debug: put user data dir in home dir, update versions of things (#189855) 2023-08-07 19:46:38 +01:00
Connor Peet 2d2797bba6
debug: let js-debug store the oss profile in workspace storage (default behavior) (#189828)
Fixes #177664
2023-08-07 16:24:07 +01:00
Johannes Rieken 26a1feb1bd
joh/envious jay (#185839)
* remove bogus launch-config, fyi @connor4312

* disable API test extension when running from launch config
2023-06-22 10:05:47 +02:00
Connor Peet a0fce779af
chore: bump js-debug-companion (#185589)
For livepreview
2023-06-19 18:36:39 +02:00
Matt Bierner cc244e095a
Fix outfiles for VS Code API tests (#182228)
This lets you correctly hit breakpoints in the API tests
2023-05-11 14:33:29 -07:00
Tyler James Leonhardt fd23d86b04
Allow debugging the issue reporter by removing uri filter (#181429)
The issue reporter has a different html file.
2023-05-03 19:20:37 +02:00
Henning Dieterichs c9c8e53032
Replaces http-server with playground-server (#179876) 2023-04-13 07:39:35 -07:00
Robo e5f61433b5
chore: update to Electron 22 (#177600)
* Revert "chore: revert to Electron 19 (#175851)"

This reverts commit 3a11b47eee.

* chore: bump electron@22.3.3

* build: use custom version for V8 sandbox

* chore: update electron@22.4.1

* chore: enable forceAllocationsToV8Sandbox for extension host

* chore: bump electron@22.4.2

* chore: bump electron@22.4.3

* sandbox - cleanup from electron 22 update (#178919)

* Revert "chore: revert to Electron 19 (#175851)"

This reverts commit 3a11b47eee.

* chore: bump electron@22.3.3

* build: use custom version for V8 sandbox

* chore: update electron@22.4.1

* chore: enable forceAllocationsToV8Sandbox for extension host

* chore: bump electron@22.4.2

* chore: bump electron@22.4.3

* temp: update distro

* sandbox - cleanup from electron 22 update

* missing comile

* more changes

* fix build

* restore

* 💄

* compile

---------

Co-authored-by: deepak1556 <hop2deep@gmail.com>

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2023-04-03 09:09:31 +02:00
Henning Dieterichs f4b345578d
Adds monaco editor playground launch config & http server 2023-02-10 19:18:47 +01:00
Connor Peet 314d7b6c47
debug: allow setting breakpoints in plain .js files (#168921)
* debug: allow setting breakpoints in plain .js files

Fixes #159684

* fixup! don't change sourceURLs in build
2023-01-06 09:22:46 +01:00
Connor Peet fad3a77833
debug: remove timeout connecting to renderer (#162899)
Fixes #159835
2022-10-06 16:02:09 -07:00
Sandeep Somavarapu 82ac904296
add run code web launches (#162364) 2022-09-29 17:45:27 +02:00
Benjamin Pasero 9db57e76e9
Build: bundle / concat entry points (#161161)
* perf - concatenate windows main files

* Revert "Revert "Use `esbuild` to bundle some CommonJS main files (#160957)" (#161118)"

This reverts commit 84c46b71a5.

* build - exclude server main files

* build - make concat a task that runs like the others

* some renames

* Avoid overwriting the nodejs closure require

* Revert "build - exclude server main files"

This reverts commit 736516624e.

Co-authored-by: Alex Dima <alexdima@microsoft.com>
2022-09-21 00:38:44 -07:00
Connor Peet 8c254bbf3e
inspect-brk main process with renderer process (#159695)
Debugging the main process is fairly lightweight, so let's just always do it. Also, have more appropriate launch config names

 Fixes #159684
2022-08-31 19:13:39 +02:00
Sandeep Somavarapu 6ec6d9d94d
Fix #158219 (#159289) 2022-08-26 14:05:37 +02:00
Rob Lourens 5a94444624
Remove pwa- from launch.json (#158234) 2022-08-16 05:16:35 +01:00
Matt Bierner bbe7b54cf4
Remove custom editor tests (#152777)
These tests are not actively being run or maintained. Removing them for now
2022-06-21 15:37:19 -04:00
Martin Aeschlimann c46555d9c8
Tests for configuration editing completion providers (#151953)
tests for configuration editing completion providers
2022-06-14 09:08:27 +02:00
Connor Peet 21e6c2aac0
debug: enable crash reporter when running debugging (#151430) 2022-06-08 11:11:13 +02:00
Babak K. Shandiz 7fc55261aa
Ask user to select PR templates when forking a repository (#143733)
* Add getPullRequestTemplates method to discover templates

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* Add method to quick pick for PR templates

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* Handle possible PR templates

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* Remove unnecessary return value assignment

Co-authored-by: João Moreno <mail@joaomoreno.com>

* Change comparison operands' order

Co-authored-by: João Moreno <mail@joaomoreno.com>

* Remove sorting template URIs in pickPullRequestTemplate

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* Sort template URIs before showing quick-pick list

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* Rename getPullRequestTemplates method to findPullRequestTemplates

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* Find Github PR templates in-parallel using readdir/stat

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* Export method for visibitliy in tests

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* Add tests for Github PR template detection

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* Add launcher configration to run Github tests

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* 💄

* Replace stat with readDirectory for OS native case sensitivity

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* Delete some files to avoid duplicate names on case insensitive envs

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* Exclude deleted files from test case expected result

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

Co-authored-by: João Moreno <mail@joaomoreno.com>
Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2022-04-01 07:07:33 -07:00
Rob Lourens f3153f1466 Always show mouseover markdown fold buttons for a focused cell 2022-02-10 11:37:32 -08:00
Rob Lourens 2be84d7df0 Hide focus indicator while dragging cell 2022-02-10 10:50:19 -08:00
Benjamin Pasero 13461f8c61
Web: change yarn web to run with our server instead of playground (#139725)
* web - first cut `yarn web` via our server

* properly pipe output

* web - remove traces of web playground

* web - remember last opened workspace for convinience

* use vscode-test-web for server less, clean up web commands

* fix comment

* fix `yarn web`

* rename to code-server

* open system browser

* code-server script: use minimist

* test resolver: use ./scripts/code-server

* integartion tests: fix code-server command name

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2022-01-20 13:48:08 +01:00
deepak1556 a9a598351e chore: bump electron@13.5.1
Fixes https://github.com/microsoft/vscode/issues/134244
Fixes https://github.com/microsoft/vscode/issues/122225
2021-10-02 00:37:51 +09:00
Daniel Imms b5d1c0b987 Setup pty host debug target 2021-09-20 15:26:31 -07:00
Connor Peet b5944ec59b
include flags to work around electron issues 2021-08-30 09:50:24 -07:00
Connor Peet 8797cfe27e
debug: use simple port attachment for launching main porcess
Fixes #129230
2021-08-05 10:54:15 -07:00
Connor Peet 9126e31644
debug: remove committed trace flags in js-debug debug 2021-07-23 16:45:20 -07:00
Connor Peet 581ff12c39
testing: improve test children API
This changeset results from the discussion in and fixes #126987.
Migration for these changes should take about 15-20 minutes.

- `createTestItem` no longer takes a parent. Instead, it creates a free-
  floating test item, which can be added as a child of a parent.
- The `TestItem.children` is now a `TestItemCollection`, a set-like
  interface that also allows replacing items (intelligently diffing
	them internally) wholesale. This removes the need for the "generation
	counter" used in samples previously.
- There is no longer a `root` on the test controller, but instead an
  `items` property which is the same `TestItemCollection`
- The `tests` in the `TestRunRequest` has been replaced with an `include`
  property. If undefined, the extension should run all tests. (Since
	there is no longer a root to reference).

Here's some example migrations:

- 3fad3d66c1
- 3aff746316
2021-07-14 18:12:59 -07:00
Connor Peet fd14f3ebc0
debug: raise the extension host timeout
Fixes 126826
2021-07-09 12:56:02 -07: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
Rob Lourens 526253bc34 Remove unneeded vscode-notebook-tests references
Fix #126384
2021-06-17 20:51:13 -07:00
Benjamin Pasero 270002e3b8 fix emmet test integration path 2021-06-15 15:40:24 +02:00
Connor Peet 4eee5c6ee5
testing: fix test wrapper not including ranges and not dealing with sync discovered root 2021-04-21 11:04:04 -07:00
Johannes Rieken 5f9f03e822 disable extensions when debugging API tests 2021-02-12 19:08:34 +01:00
Connor Peet 16c2193e3f
eng: avoid duplicate prelaunch task runs
Fixes https://github.com/microsoft/vscode/issues/112078
2020-12-18 12:09:25 -08:00
Connor Peet df7fdd6515
search: fix freezing ui on long lines
Fixes https://github.com/microsoft/vscode/issues/109902
2020-11-09 16:15:29 -08:00
Connor Peet 296aa89012
debug: improve attach to vscode config 2020-11-02 15:15:14 -08:00
Connor Peet 9b646fda6c
debug: adopt perScriptSourcemaps options for faster browser debugging 2020-10-21 16:34:59 -07:00
Connor Peet d15cc23e6e fix: allow debugging unit tests in web/codespaces
Fixes https://github.com/microsoft/vscode-internalbacklog/issues/1472
2020-10-06 17:38:30 +00:00
Connor Peet df30a1ff76
fix: resolve sourcemaps in extensions
Fixes https://github.com/microsoft/vscode/issues/105859
2020-09-01 10:59:48 -07:00
Benjamin Pasero 651fb28e3c web - rename resources/serverless => resources/web 2020-08-18 09:49:53 +02:00
Connor Peet 49924e7ba0
debug: improve self-host debug configurations
https://github.com/microsoft/vscode/issues/100368
2020-08-12 16:41:11 -07:00
Connor Peet 262ab802d3
launch: check prerequisites in a pre-launch task
Fixes https://github.com/microsoft/vscode/issues/103708
2020-07-31 10:55:07 -07:00
Matt Bierner bdd3721849 Add custom editor test extension
Adds a simple set of tests for custom editors in a new extension. This is currently not run during CI since we want more testing to make sure it is reliable
2020-07-29 14:05:44 -07:00
Matt Bierner 362d345448 Adding tests for opening markdown document links 2020-07-10 13:25:55 -07:00
Connor Peet 800caa0f7f
debug: close whole vscode 'browser' when ending sessions
Fixes https://github.com/microsoft/vscode-js-debug/issues/554
2020-07-02 11:37:22 -07:00
Chuck Lantz 0710dca120
Merge branch 'master' into clantz/dev-container 2020-06-29 06:47:03 -07:00
Eric Amodio bb97e452f1 Fixes #99666 - moves code-web into resources/ 2020-06-09 10:59:15 -04:00
Chuck Lantz fa63641648
Merge branch 'master' into clantz/dev-container 2020-06-09 07:57:55 -07:00