Commit Graph

1273 Commits

Author SHA1 Message Date
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
João Moreno
bfb7af52e5 fix darwin icons (#216492) 2024-06-18 16:36:32 +02:00
Johannes Rieken
88d860624c Inline chat UI overhaul (#215927)
* don't dimiss inline chat content widget when already having typed something

https://github.com/microsoft/vscode-copilot/issues/6067

* extract `TextOnlyMenuEntryActionViewItem` for reuse

* remove unused variables

* * show chat input below request/response pairs
* setting for text-only buttons
* more dynamic buttons
* always show the first request, don't repopulate input with last message
* keep progress bar hidden, rely on "Generating..."
* no more special background color

* add `minimal` renderer style for chat renderings

* tweak font-size for details when render mode is minimal

* stable scroll position for inline chat, don't push down the lines chat is editing but push the inline chat upwards

* more buttons more compact, tweak labels

* * add missing service dependency
* repopulate input for some unit test

* allow output from `InteractiveChatController` suite
2024-06-17 11:26:21 +02:00
Henning Dieterichs
f82523eb08 Uses editor option to control editor placeholder. (#214427)
* Uses editor option to control editor placeholder.

Signed-off-by: Henning Dieterichs <hdieterichs@microsoft.com>
2024-06-06 18:09:59 +02:00
Megan Rogge
d9148b110e mute terminal hint color (#214173)
fix #213647
2024-06-04 13:55:17 -07:00
Johannes
9350309831 Merge branch 'main' into joh/intense-heron 2024-06-04 08:21:12 +02:00
Johannes
b9b51f0fb0 tweak SWC options to allow module interop 2024-06-03 18:40:56 +02:00
Johannes
5012cb8fb8 adding missing bundle.js compile output 2024-06-03 17:21:09 +02:00
Johannes
09981a84af configure esModuleInterop: true, change some star-imports 2024-06-03 16:50:28 +02:00
João Moreno
addd445017 upload sourcemaps to CDN instead of ticino (#214141) 2024-06-03 16:10:01 +02:00
Simon Siefke
f7cead6b72 Add editor.findMatchForeground (#213497)
* feature: make find decoration foreground color configurable
2024-05-27 15:48:07 +00:00
Matt Bierner
6743fa305c Pick up latest ts for building VS Code (#213170) 2024-05-21 12:33:34 -07:00
Connor Peet
cb3c3cb125 eng: fix prelaunch task on recent node versions
Closes #212888
2024-05-20 10:16:22 -07:00
Benjamin Christopher Simmonds
88bc75f68c Tabs Multi Select (#211712)
* Tabs Multi Select v1

* Color

* Only rerender selections

* Improve drag and drop and tab border top drawing

* Improved multi select behaviour

* Open With Editor multiple "support"

* 💄

* tests

* Move down to model

* Fix tests

* Sync selection and active in model

* Make unselect async

* async unselect in interface

* Model update event when unselecting with closeEditor

* async fir selectEditor

* Fix tests and 💄
2024-05-13 21:06:02 +02:00
Robo
5216c04428 chore: update to electron 29 (#209818)
* chore: update electron@29.1.0

* chore: update typings to 20.x

* chore: bump electron@29.1.5

* ci: fix crash in compiling extensions-ci

* chore: disable .d.ts check for build/

$ ../node_modules/.bin/tsc -p tsconfig.build.json
node_modules/@types/chokidar/index.d.ts:21:14 - error TS2420: Class 'import("/Users/demohan/github/vscode/build/node_modules/@types/chokidar/index").FSWatcher' incorrectly implements interface 'import("fs").FSWatcher'.
  Type 'FSWatcher' is missing the following properties from type 'FSWatcher': ref, unref

21 export class FSWatcher extends EventEmitter implements fs.FSWatcher {
                ~~~~~~~~~

node_modules/chokidar/types/index.d.ts:8:14 - error TS2420: Class 'import("/Users/demohan/github/vscode/build/node_modules/chokidar/types/index").FSWatcher' incorrectly implements interface 'import("fs").FSWatcher'.
  Type 'FSWatcher' is missing the following properties from type 'FSWatcher': ref, unref

8 export class FSWatcher extends EventEmitter implements fs.FSWatcher {
               ~~~~~~~~~

Found 2 errors in 2 files.

Errors  Files
     1  node_modules/@types/chokidar/index.d.ts:21
     1  node_modules/chokidar/types/index.d.ts:8

Refs a0f9e09f64

* chore: update core types

* temp: fix layer validation

* chore: update nodejs checksums

* ci: use latest v20 LTS for missing node-gyp

Refs eacec5f490

* ci: define LIBCPP_HARDENING_MODE

* ci: fix crash in vscode-web-min-ci

* chore: update rpm deps-list

* chore: bump tree-sitter-typescript@0.20.5

* chore: bump electron@29.3.0

* chore: bump electron@29.3.1

* chore: update rpm deps-list for x86_64

* ci: disable io_uring UV backend on linux

* ci: disable io_uring backend for oss as well

* chore: update typings to 20.x

* ci: add TODO for io_uring workaround

* chore: bump distro

* chore: update preinstall node version checks

* chore: update @types/gulp

Refs https://github.com/microsoft/vscode/issues/212442

* ci: disable io_uring in more test suites
2024-05-11 01:20:28 +09:00
Connor Peet
26120e5bf4 testing: add temporary failure tracker to the selfhost test runner (#212134)
For /fixTestFailures, I want to get more 'real world' tests and test
fixes. This makes a change in the selfhost test provider such that when
a test fails and is then fixed, we record the code changes into a JSON
file in the `.build` directory. In a few days I'll follow up with team
members to collect their test failures and use them as evaluation tests
for copilot. The FailureTracker will be removed when I've gotten enough
data.
2024-05-07 00:54:33 +02:00
Matt Bierner
d40b1530c7 Replace typescript-formatter (#211810)
The typescript-formatter package isn't being maintained (lots of old PRs) and has broken in the most recent version of TS

Long term we may explore switching to another formatter, but for now I've hook up the basic formatter logic for our hygiene scripts
2024-05-01 23:35:58 +02:00
Connor Peet
26cf440912 preserve old codicon rule (#210489)
* Revert "Revert "Revert #210416 (#210425)" (#210442)"

This reverts commit 31fba19dcf.

* preserve old codicon rule
2024-04-16 19:17:54 +02:00
Sandeep Somavarapu
31fba19dcf Revert "Revert #210416 (#210425)" (#210442)
This reverts commit 714ce79ed9.
2024-04-16 09:49:08 +02:00