Commit Graph

65 Commits

Author SHA1 Message Date
Matt Bierner
2648263d3e Run our build scripts directly as typescript (#277567)
* Run our build scripts directly as typescript #277567

Follow up on #276864
For #277526

* Remove a few more ts-node references

* Fix linux and script reference

* Remove `_build-script` ref

* Fix script missing closing quote

* use type only import

* Fix export

* Make sure to run copy-policy-dto

* Make sure we run the copy-policy-dto script

* Enable `verbatimModuleSyntax`

* Pipelines fixes

* Try adding explicit ext to path

* Fix bad edit

* Revert extra `--`

---------

Co-authored-by: João Moreno <joaomoreno@users.noreply.github.com>
2025-11-21 14:56:00 +01:00
Robo
f2531f1c56 chore: update to Electron 39 (#275786)
* chore: bump electron@39.0.0

* chore: update build

* chore: bump distro

* chore: update debian deps

* chore: exclude dlls from symbol scan

* chore: test with patch v8 headers

* chore: bump rpm dependencies

* chore: cleanup preinstall.js

* chore: bump electron@39.1.1

* chore: remove unsupported FontationsLinuxSystemFonts feature flag

* chore: bump electron@39.1.2

* chore: update nodejs build

* temp: update distro

* ci: fix location of preinstall invocation

* chore: bump distro
2025-11-13 08:25:14 +00:00
Matt Bierner
e045c655ea Ignore a few more built files
These files are generated during build
2025-11-11 14:50:16 -08:00
Megan Rogge
de5019f4eb use stripped down version of PSReadline for screen reader support on windows to enable pwsh shell integration (#263702) 2025-09-08 14:04:43 -07:00
Matt Bierner
383b4cd66c Merge pull request #260359 from mjbvz/successive-cockroach
Clean up some typings in build scripts
2025-08-07 10:57:21 -07:00
Matt Bierner
d865a99c49 Clean up some typings in build
- Adding ts-check in a few more js files
- Switching to use `@types` for a few more packages
- Remove some unused code
2025-08-07 09:38:52 -07:00
Matt Bierner
67655690dd Don't run hygiene on built extension files 2025-08-07 08:45:52 -07:00
Benjamin Pasero
5535b4579f debt - more powerful layer checker with TS support (#250752) 2025-06-06 08:56:50 +02:00
Matt Bierner
6b3e9f6759 Fix eslint not linting our custom eslint rules 2025-03-19 22:49:06 -07:00
Alex Ross
4c3518eafe Injected languages for tree sitter (#243180) 2025-03-18 10:48:27 +01:00
Megan Rogge
8bbbc45f4f add builtin fish arg/description/documentation to suggestion (#243271) 2025-03-13 22:28:50 +00:00
Megan Rogge
2dbfd1e50a save zsh builtin command descriptions to ts file vs json (#241967) 2025-02-25 23:54:35 +01:00
Megan Rogge
edac0c5a27 ensure spec commands show up before misc ones (#240724)
fix #239977
2025-02-19 02:58:47 +01:00
Matt Bierner
92c3380c8f Remove unused classification test (#237989)
Remove unused test file

This test has been commented out for 5 years now
2025-01-22 12:30:15 +01:00
Daniel Imms
55c35c836f Automate some pulling completions from upstream 2025-01-10 07:13:17 -08:00
Matt Bierner
e2e048ded8 Merge pull request #230345 from microsoft/dev/eslint-9
Eslint 9 migration
2024-10-07 09:15:12 -07:00
Matt Bierner
0deec1d730 Exclude generated codicon.css file from hygiene (#230501)
Fixes #230388
2024-10-07 16:25:03 +02:00
Matt Bierner
9c86c96a8a Switch back to use eslintignore file for sdl tooling
However use a different filename to avoid a warning
2024-10-03 09:44:50 -07:00
Matt Bierner
f22a1167e4 More fixes 2024-10-02 17:22:33 -07:00
Matt Bierner
489c180f25 Merge branch 'main' into dev/eslint-9 2024-10-02 14:50:59 -07:00
Matt Bierner
e456f4cb66 Start eslint 9 migration
For #230339

Starts migrating to eslint 9. Everything runs but it produces a number of errors
2024-10-02 14:45:28 -07:00
Benjamin Pasero
c5b6ef14e6 esm - more cleanup (#230285) 2024-10-02 11:55:17 +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
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
0dea4804f4 esm - introduce VSCODE_BUILD_ESM variable (#225586) 2024-08-14 14:49:26 +02:00
Daniel Imms
1416d5bd96 Basic code completions 2024-07-18 11:32:28 -07:00
Dirk Bäumer
20775fd417 Reenable yarn eslint (#220037)
* Reenable yarn eslint

* Fix eslint errors

* Fix compile error

* Fix another compile error

* Disable eslint errors
2024-07-05 12:26:44 +02:00
Matt Bierner
f86d0f7324 Exclude product.overrides from hygiene (#211396) 2024-04-25 18:18:09 -07:00
Matt Bierner
45e2e0bfd0 JS/TS package acquisition (#184438)
* Experiment with adding ata using `@types` packages shipped in an extension

* Use own file system instead of `https`

* JS/TS type support on web

* Tsconfig needs esModuleInterop not module:nodenext

We actually want webpack to emit commonjs, but need to write ES default
imports to use node-maintainer

* fix package.json indentation

* Adding setting to disable web type acquisition

* Fix merge of yarn lock

* Fixing merge errors

* Fixing errors

* Pick up package externally

* Fixing conflicts

* Bump version

---------

Co-authored-by: Kat Marchán <kzm@zkat.tech>
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2023-08-28 00:49:40 -07:00
Robo
8147d6bee1 fix: bump node-gyp dependency to v9.4.0 (#189308) 2023-07-31 06:53:30 -07:00
Alex Ross
dc142e4cd1 BUILD: Exclude third party notices from indentation filter (#187913) 2023-07-14 11:52:40 +02:00
Connor Peet
22bb4b95cc build: exclude the cli third party notices from hygenie (#187843)
This might get moved later on, but for now exclude them
2023-07-13 16:50:43 +02:00
Martin Aeschlimann
780b2f5758 add linter for css variable names (#176769) 2023-03-10 07:33:02 -08:00
Peng Lyu
687cc4fe97 Fix #168070. Filter ipynb output from hygine (#169691) 2022-12-20 23:33:30 +01:00
Connor Peet
bf36a10c47 cli: use packaged openssl instead of artisanal builds 2022-10-20 17:14:14 -07:00
Connor Peet
24a51e506f try using vcpkg for everything 2022-10-18 10:58:50 -07:00
Connor Peet
3762635fe1 move cli to top level 2022-09-20 08:42:44 -07:00
Connor Peet
3ca6d73169 exclude rust cli from linting/hygenie 2022-09-19 13:29:24 -07:00
Matt Bierner
3c37a5a8d7 Reapply JavaScript and Node.js walkthrough (#161003)
This reverts commit cfc0119755.

Brings the walkthrough back in but makes sure it is only loaded on desktop
2022-09-15 13:02:43 -07:00
Benjamin Pasero
cfc0119755 Revert "JavaScript and Node.js walkthrough" (#160959)
Revert "JavaScript and Node.js walkthrough (#157965)"

This reverts commit 0cbcb1b1ab.
2022-09-15 08:26:22 +02:00
Daniel Rosenwasser
0cbcb1b1ab JavaScript and Node.js walkthrough (#157965)
* Initial contents for JavaScript walkthrough.

* Just suggest a `.js` file.

* Switch the walkthrough to be a Node.js walkthrough.

* Remove leftover file from HTML walkthrough.

* Add basic detection mechanism for node.

* Don't check for a Node install until the user runs debug.

* Add "learn more" link.

* Some assets.

* Remove "run" section.

* Add a "try debugging anyway" option just in case.

* Remove "view terminal" command in run & debug.

* More copy.

* Remove unused command.

* Update icon and themed walkthrough SVGs

* Default to not showing the extension.

* Replace icon

* Delete TODO.md

* jsWelcome -> nodejsWelcome

Co-authored-by: David Dossett <ddossett@microsoft.com>
Co-authored-by: Matt Bierner <matb@microsoft.com>
2022-09-14 09:53:37 -07:00
isidor
a5db59ad6b use .mp3 files for audio cues 2022-08-22 10:58:58 +02:00
Z. Grace Moreau
a79956ac84 try exempting *.fish files from copyright requirements
This appears consistent with the treatment of other shell scripts.
2022-08-08 14:49:38 -06: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
Alexandru Dima
9db5a3674e Bring the nls loader plugin into our sources (#152338) 2022-06-16 22:01:19 +02:00
Alexandru Dima
d132489cd0 Bring the css loader plugin into our sources (#152205) 2022-06-15 16:53:02 +02:00
Joao Moreno
8627bd2569 add policy admx/adml files 2022-04-20 16:19:38 +02:00
Matt Bierner
acd19fbc30 Add notebook-renderer to hygiene filter 2022-03-08 17:44:15 -08:00
Daniel Imms
2687b53d77 Get zsh shell integration working again (#143963)
ZDOTDIR/.zshrc is now created manually on the pty host

Fixes #143629
2022-02-25 11:19:19 -06:00
rebornix
f2b7964599 re #142429. Image renderer moved to extension. 2022-02-07 12:49:20 -08:00