Commit Graph

136 Commits

Author SHA1 Message Date
Kyle Cutler
b4018e320b Never use simple browser on desktop (#303312)
* Never use simple browser on desktop

* Update extensions/simple-browser/package.nls.json

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-19 14:56:56 -07:00
Matt Bierner
e9b82791e6 Commit other npmrc files 2026-03-10 20:56:09 -07:00
Joaquín Ruales
c3d3f8d540 Make simpleBrowser.useIntegratedBrowser true by default (#296775)
* Update default value for useIntegratedBrowser setting

Changed default value of useIntegratedBrowser to true.

* Address feedback on default setting for `simpleBrowser.useIntegratedBrowser` (#296776)

* Initial plan

* Change default fallback for useIntegratedBrowserSetting from false to true

Co-authored-by: jruales <1588988+jruales@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jruales <1588988+jruales@users.noreply.github.com>

* Remove "experimental" label from simpleBrowser.useIntegratedBrowser setting description (#296777)

* Initial plan

* Remove 'experimental' from useIntegratedBrowser setting description

Co-authored-by: jruales <1588988+jruales@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jruales <1588988+jruales@users.noreply.github.com>

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
2026-02-22 20:20:35 -08:00
Matt Bierner
75a0ad4f75 Esbuild a few more built-in extensions
Switches from webpack to esbuild for `merge-conflict`, `references-view`,  `search-result`, and `simple-browser`
2026-02-13 15:00:06 -08:00
Raymond Zhao
e987c5242e chore: bump extension versions (#295040) 2026-02-13 04:15:03 +05:00
Matt Bierner
cb714c7c9f Addressing code review comments 2026-02-11 16:38:06 -08:00
Matt Bierner
03561955b7 Clean up esbuilding of extensions
- Make sure we still always type check using `tsgo --noEmit`
- Align names of esbuild files
- Convert all esbuild files to typescript. We use the `.mts` extension to avoid annoying node warnings about using pacakges
2026-02-11 14:57:16 -08:00
Matt Bierner
ee01088b74 Update roots 2026-01-30 13:12:58 -08:00
Matt Bierner
0d9a2ef2b0 Add explicit rootDirs 2026-01-30 11:07:53 -08:00
Joaquín Ruales
22e81e3086 Allow setting simpleBrowser.useIntegratedBrowser to be targeted by ExP (#289207)
Allow setting simpleBrowser.useIntegratedBrowser to be targeted by ExP framework
2026-01-20 20:49:17 +00:00
Kyle Cutler
4e9b0b7fc3 Support additional actions in integrated browser (#287653)
* Add setting to redirect simple browser

* Open in external browser

* Open settings

* Move to new window

* clean

* Add element shortcut

* Menu item updates

* PR feedback
2026-01-14 12:43:16 -08:00
Matt Bierner
723aa849c9 Convert gulpfiles to modules
Makes a pass through our top level gulpfiles to convert them to modules
2025-11-11 15:28:50 -08:00
Matt Bierner
dfba020e0a Remove extra expect error 2025-10-29 14:58:36 -07:00
Matt Bierner
c47a56c7bc Adopt uuids for generating webview nonces 2025-10-29 13:53:47 -07:00
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
c7e7a779e8 Add basic mermaid rendering support in core
For #257761

Ports over extension sample + a few improvements to core
2025-09-10 18:22:39 -07:00
Matt Bierner
2c749892ad Merge pull request #260466 from mjbvz/sick-marmoset
Convert esbuild scripts to modules
2025-08-07 21:57:27 -07:00
Matt Bierner
0d39d30c97 One more ignore 2025-08-07 20:50:44 -07:00
Matt Bierner
7bf1ab9dbe Also change common file extension 2025-08-07 20:07:03 -07:00
Matt Bierner
f272e51947 Convert esbuild scripts to modules
Planning to convert to typescript but want to do it in a few smaller steps
2025-08-07 20:04:44 -07:00
Matt Bierner
ed71020bfc Convert extension webpack scripts to modules 2025-08-07 17:20:22 -07:00
Matt Bierner
6c2cf7800e Use consistent case 2025-08-05 10:44:16 -07:00
Matt Bierner
30b93b1217 Bump extensions to target es2024
I reviewed the various changes and library additions of es2024 and it seems they are widely supported across node and modern browsers
2025-08-05 10:40:33 -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
Justin Chen
e3734c0794 ui element selection (#246643)
* ui element selection window hack

* add background

* target simple browser

* revert to non-simple browser attempt

* some saucy stuff

* saucy cleanup

* some additions:

* add better button, better listening, even saucier

* move to css and also make sure not to block elements during screenshot

* it's even saucier now

* remove browser id lookup

* fix merge conflicts and clean up

* make timeout 3 seconds

* some cleanup

* remove computed css

* use built in button instead

* address many comments :)
2025-04-25 11:19:54 -07:00
Logan Ramos
e689b912ba Update telemetry package (#236378) 2024-12-17 20:12:49 +01:00
Ladislau Szomoru
fea0365cba Engineering - bump deprecated package (#234965)
* Engineering - bump deprecated package

* Fix build script
2024-12-02 11:17:24 +00:00
Robo
9494a89080 chore: add npmrc to extensions folder (#230214) 2024-10-01 12:43:01 +02:00
hj
88d7b97c93 chore: rm unreached ignore items when build extensions. (#227906)
chore: rm unreached ignore items when compiling extensions.
2024-09-09 10:32:51 +00: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
Logan Ramos
9bea1fc96a Bump telemetry package (#197168) 2023-11-01 20:51:03 +01:00
Logan Ramos
cc98e55794 Fix slow telemetry module (#193607) 2023-09-20 20:14:12 +01:00
Logan Ramos
ecb0c80fc1 Bump extension telemetry module (#191237)
* Bump extension telemetry module

* Fix webpack
2023-08-24 12:53:41 -07:00
Alpha Romer Coma
7ef754c2f6 Fix supported markdown-lint violations in markdown files (#190750)
docs: fix supported markdownlint violations
2023-08-24 08:37:25 +00:00
Raymond Zhao
5be539a588 Bump semver (#187654) 2023-07-12 01:49:45 +02:00
John Murray
9e5edb7d9a Allow downloads from pages viewed in Simple Browser (#185117) 2023-06-14 17:23:37 +00:00
Matt Bierner
5a55352cf7 Combine esbuild scripts (#184531)
* Combine esbuild scripts

This combines the various build scripts used for building webview/notebook content. This should make it easier to update settings for them

As part of this, I also fixed the script so that on watch it restarts automatically on syntax errors instead of exiting

* Migrate other build script

* Fixing math build script
2023-06-09 14:55:05 -07:00
Matt Bierner
b2ea6aa9fc Inline codicons font for simple browser (#176462)
Should fix #139674 but need to confirm on deployed codespaces
2023-03-07 19:46:53 -08:00
Logan Ramos
8e6bcc9b9e Bump module to new package (#173599) 2023-02-06 12:29:36 -08:00
Matt Bierner
4630d8e4de Remove more implicit activation events from built-in extensions (#172838) 2023-01-30 17:25:56 -08:00
Matt Bierner
fac1eea159 Reset simple browser localResourceRoots on reload (#172834)
This makes us set the `localResourceRoots` when the simple browser is reloaded. In codespaces when switching from stable to insiders, this reload can change the extensionUrl, so we can't use the old local resource roots
2023-01-30 16:46:47 -08:00
Logan Ramos
8cea434dec Remove unused proposals (#172035) 2023-01-23 19:09:07 +01:00
Logan Ramos
4acf2d9b46 Update the telemetry modules (#170512)
Update the module
2023-01-03 15:10:45 -05:00
Logan Ramos
b1076b41f3 Bump telemetry packages (#169283) 2022-12-15 17:29:10 +01:00
Logan Ramos
73d882bcf7 Update telemetry package (#166292) 2022-11-14 09:30:33 -08:00
Logan Ramos
bf1697d98c Consume proposed telemetry API (#165862)
* Consume proposed telemetry API

* Update webpack
2022-11-08 21:58:28 -05:00
Matt Bierner
3ca015cebd Adopt l10n for simple-browser (#165529)
For #164438
2022-11-04 11:15:23 -07:00
Matt Bierner
186d3415a3 Use ??= in more places (#163594) 2022-10-13 14:59:35 -07:00
Matt Bierner
b2d129c4e5 Fix ipv6 support for simple browser (#163374)
Fixes #158599

This correctly handles ipv6 uris, such as `http://[::]:3000`. In these cases, the brackets are required
2022-10-12 11:04:56 -07:00
Jean Pierre
24b8eb0d54 Fixes simple browser webview is not reused if restored (#163389)
Fixes #163387
2022-10-11 20:59:54 -07:00