Commit Graph

1641 Commits

Author SHA1 Message Date
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
Daniel Imms
32ba9d0576 Handle @webgpu/types in standalone script 2024-09-09 08:48:31 -07:00
Benjamin Pasero
eed219db5f ESM: figure out the monaco-standalone ESM build story (fix #227192) (#227536) 2024-09-06 18:26:40 +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 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
Benjamin Pasero
da0319cd7d missing compile change 2024-09-06 14:33:30 +02:00
Benjamin Pasero
c3d464a46a remove console log 2024-09-06 14:26:23 +02:00
deepak1556
ce0b33a888 fix: duplicate vsda 2024-09-06 19:32:30 +09:00
deepak1556
cb75f3029c fix: resotre asar skipped files to node_modules/ 2024-09-06 17:56:05 +09:00
Sandeep Somavarapu
ebc02af2d8 rename electron-node to electron-utility (#227672) 2024-09-05 00:49:23 -07:00
Daniel Imms
b39eb9c147 Update known variables 2024-09-04 14:07:57 -07:00
Sandeep Somavarapu
01fcf004a6 Use electron net directly in shared process (#227553)
* Use electron net directly in shared process

* add built file

* introduce shared electron-node layer

* remove electron-utility layer

* fix (overlook): move back cli files to node
2024-09-04 07:26:43 -07:00
Johannes Rieken
e1cc3fa181 tsb should handle .js suffix (#227544)
fixes https://github.com/microsoft/vscode/issues/227540
2024-09-04 10:36:15 +02:00
Ladislau Szomoru
cd0427ad28 SCM - add color to history item labels (#227436)
* Initial implementation

* Cleanup colors

* Revert changes to define colors in the git extension

* Add colors to labels
2024-09-03 14:04:22 +02:00
Benjamin Pasero
21135c81b5 esm - provide a bridge to AMD world (#227361) 2024-09-02 12:09:12 -07:00
Benjamin Pasero
ca42f649a7 Allow to build an AMD version of VS Code (#227240) 2024-09-02 09:36:19 +02:00
Ladislau Szomoru
72e9b7daff SCM - remove old incoming/outgoing code (#227200)
* Delete SCMViewSeparatorElement

* Deleted all renderers

* Delete SCMHistoryItemGroupTreeElement

* More clean-up

* Cleanup old menus

* Fix compilation errors after ESM merge
2024-08-30 14:10:47 +02:00
Benjamin Pasero
6b924c5152 ESM merge to main (#227184)
Co-authored-by: Johannes Rieken <jrieken@microsoft.com>
Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2024-08-30 10:31:46 +02:00
Benjamin Pasero
ab9f00c922 linux - compute WCO width based on actual values (#227075) 2024-08-29 15:42:23 +02:00
Benjamin Pasero
a002d1512e build - move buildfile.js out of src (#226403)
* build - move `buildfile.js` out of `src`

* .

* fix build
2024-08-23 12:18:26 +02:00
Benjamin Pasero
34a756ae2e esm - worker cleanup (#226064) 2024-08-20 17:51:26 +02:00
Alex Ross
977f832a30 Simple tree sitter based syntax highlighting for typescript (#225252)
* Simple tree sitter based syntax highlighting for typescript

Part of #210475

* Implement onceIf using filter

* Mix monaco

* Fix tests

* Switch back to classic

* PR feedback

* Fix bug causing test failure

* Update tree-sitter-wasm

* Fix monaco editor tree shaking

* Fix running monaco checks on Windows

* Use dummy tree sitter service in standalone

* PR feedback
2024-08-19 21:56:31 +02:00
Benjamin Pasero
3dc8c38c92 esm - some build polish (#225948) 2024-08-19 16:54:29 +02:00
Benjamin Pasero
f5920b80a3 esm - add yarn watch-esm and watch-client-esm 2024-08-15 15:08:49 +02:00
Benjamin Pasero
fdc8d882e2 esm - backport worker related changes (#225672) 2024-08-15 13:46:45 +02:00
Benjamin Pasero
0dea4804f4 esm - introduce VSCODE_BUILD_ESM variable (#225586) 2024-08-14 14:49:26 +02:00
Megan Rogge
7c2663f1a7 provide way to adjust table column size via keyboard (#225081) 2024-08-11 08:35:27 -07:00
Justin Chen
fe018d2f04 custom color theme for action list widget (#223245)
* action list colors

* mvoe to listColors

* dont change imports

* remove whitespace
2024-08-08 13:16:01 -07:00
Aaron Munger
b5300cb68d fix lint warning (#224996)
* fix lint warning

* fix path
2024-08-07 09:05:38 -07:00
Daniel Imms
8bdf399e0b Add command guide theme key
Fixes #224469
2024-08-02 11:17:48 -07:00
Benjamin Pasero
284a605d61 NLS can get mixed up when stable overwrites insider metadata (fix #224385) (#224405) 2024-07-31 19:20:45 +02:00
Matt Bierner
84607a2fe2 Fix some always true/false errors in codebase (#223359)
* Fix some always true/false errors in codebase

Testing out latest TS nightly that can identify when an expression is always true/false. This caught a few likely coding mistakes in our codebase

Unsure about the intent in some of these cases but I've tried my best to understand them. Pinging relevant code owners for the confusing cases

* Bump TS version

* Fix unreachable in build scripts

* Bump versions

* restore intent

* Revert package.json change

* Fixing a few new layer checker errors

These are global in node now

* Skip lib check in integration project

* One more skiplibcheck

* More skip lib

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
2024-07-30 15:37:27 -07:00
Connor Peet
1acc838297 fix: yarn run gulp vscode-darwin-arm64 fails when run in the debug terminal (#224245)
>I think that block can just be removed safely since execFile with provide an error if the subprocess has a !=0 exit code

Fixes #221581
2024-07-29 16:30:35 -07:00
Sandeep Somavarapu
ec07594cb9 profiles editor feedback (#221938)
* profiles editor feedback

* more polish

* fix margin

* fix outline

* fix hc theme styleing

* Show new profile action in open profile menu

* update options on name change
2024-07-17 15:26:44 +02:00
Sandeep Somavarapu
8997deb01e Enhance Profiles Editor (#221845)
* radio buttons

* fine tune radio buttons

* fix active item coloring in hc theme

* improve text

* use tree for rendering
2024-07-16 11:35:21 -07:00
Matt Bierner
4caa46afc4 Fix font family fallback in parameter hints (#221737)
Fixes #211714
2024-07-15 11:39:33 -07:00
Johannes Rieken
c0cdcac061 adjust bundle-util for ESM world reuse (#221372) 2024-07-10 16:50:00 +02:00
Robo
2fe0527205 chore: update to electron 30 (#215406)
* chore: update electron@30.0.9

* chore: update rpm deps

* chore: bump electron@30.1.2

* fix: update kerberos for Node.js 20.x

Refs c1f7acafb2

* fix: use shell when spawning .bat or .cmd files

Refs https://github.com/nodejs/node/commit/6627222409

* fix: update @vscode/test-electron@2.4.0

Refs 3f7a3cc5c5

* fixup! use shell when spawning .bat or .cmd files

* chore: bump nodejs@20.14.0 internal build

* ci: skip nodejsMirror for 20.14.0 due to missing builds

* fixup! use shell when spawning .bat or .cmd files

* chore: update debian deps

* fixup! skip nodejsMirror for 20.14.0 due to missing builds

* fix: universal build

- Updates vscode-universal-bundler to support x64ArchFiles option
- Kerberos starts building universal binaries which should now be
  skipped from lipo step via x64ArchFiles
- Skips bundling *.mk files

* chore: bump distro
2024-07-09 14:33:22 +09:00
Benjamin Pasero
b7c13a78e9 Today's Insiders update failed (Windows) (#220999) (#221132) 2024-07-08 16:42:25 +02:00
Benjamin Pasero
7c8097dbbf build - reuse the same date across builds (#220076) 2024-07-05 11:06:43 -07:00
Benjamin Pasero
58d9d81228 build - use ISO string of date as before (#219961) 2024-07-04 15:47:00 +02:00
Benjamin Pasero
82c54248fd perf - inline package.json and product.json (#219841) 2024-07-04 07:59:10 +02:00
Martin Aeschlimann
4c69ceba2f rename editor.collapsedText to foldPlaceholderForeground (#219338)
rename vscode-editor-collapsedText
2024-07-01 12:13:03 +02:00
Benjamin Pasero
2014f1ddb2 nls - removal of loader plugin (#219098) 2024-06-28 15:45:52 +02:00
Benjamin Pasero
f6f90e0163 Implement NLS without AMD loader (#214588) 2024-06-28 11:55:48 +02:00
Mohammad Baqer
4580ba51fe make collapsedText theme-able (#173203)
Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2024-06-25 14:28:39 +00:00
David Dossett
a3a8dd5b01 a11y: Add opt-in setting to underline links within p elements (#216842) 2024-06-21 12:55:43 -07:00
Henning Dieterichs
309351259c Implements experimental inline edits
Signed-off-by: Henning Dieterichs <hdieterichs@microsoft.com>
2024-06-21 00:35:09 +02:00
Daniel Imms
d6dcdf99c0 Fix terminal sticky scroll on HC themes
Fixes #216729
2024-06-20 09:58:13 -07:00
Sandeep Somavarapu
a764c2ac80 Support version for proposed APIs (#216608)
Support version for proposed APIs
2024-06-19 18:01:46 +02:00
Benjamin Pasero
83f03bbb7b debt - enlist most JS files in tsconfig.json (#216566) 2024-06-19 08:35:55 +02:00