Commit Graph

367 Commits

Author SHA1 Message Date
Aiday Marlen Kyzy
79e3994280 Adding font info in colorTokenCustomization (#263403)
Adding font info in colorTokenCustomization
2025-12-16 12:44:11 +01:00
Alex Ross
c8547e5708 Update tree-sitter-wasm (#278399)
* Update tree-sitter-wasm

* Update test results

* Update pwsh && tests, fix prompt

Fixes #274548

---------

Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com>
2025-11-20 10:49:33 +01:00
SteVen Batten
27a2bcb056 adopt new version of tas-client, no longer use "umd" variant (#263340)
upgrade to tas-client 0.3.1
2025-11-12 07:50:41 -08:00
Megan Rogge
144fdf16ca add terminal output dropdown, reveal command on focus (#273175) 2025-10-30 16:08:43 -07:00
Daniel Imms
c474639d12 Update xterm
Fixes #238273
2025-10-24 05:36:27 -07:00
Daniel Imms
dafe2d8d38 Sync tree sitter wasm in web 2025-10-22 09:33:15 -07:00
Anthony Kim
aceb52a963 Update xterm 2025-10-17 13:11:52 -07:00
Benjamin Pasero
56d04418cc chore - update @vscode/iconv-lite-umd to 0.7.1 (#271472)
* chore - update `@vscode/iconv-lite-umd` to `0.7.1`

* fix ci
2025-10-15 09:33:44 +00:00
Alexandru Dima
452135c513 Bump to latest vscode-textmate (#269983)
Bump to latest vscode-textmate which avoids merging tokens when they contain RTL
2025-10-06 08:41:36 +00:00
Anthony Kim
091d733c01 Update xterm to bring back partial scroll (#266254)
Update xterm
2025-09-12 04:31:21 -07:00
Anthony Kim
22cb2bddcf Update xterm for xterm teleport fix (#264604)
Update xterm
2025-09-02 16:18:53 +00:00
Anthony Kim
11c3c24c1a Update to recent xterm.js (#263038) 2025-08-23 07:53:55 -07:00
Matt Bierner
5373f394d7 Make sure katex gets included in web build 2025-08-12 14:57:58 -07:00
Daniel Imms
a03c495175 Update xterm.js
Fixes #251800
2025-06-18 07:22:05 -07:00
Daniel Imms
fe00a26ec8 xterm@5.6.0-beta.110
Fixes #190629
2025-06-06 08:18:34 -07:00
Daniel Imms
6b8426d125 @xterm/xterm@5.6.0-beta.107
Fixes #204663
Fixes #248442
2025-05-14 06:05:39 -07:00
Daniel Imms
59662ed045 Update xterm, retain content on erase in display 2 (#247064)
* xterm@5.6.0-beta.101

Fixes #241401
Part of #75141

* Enable scrollOnEraseInDisplay

This causes erase in display to always push content above the viewport
instead of just erasing it all together. Most terminals act like this.

Fixes #75141
2025-04-21 14:17:53 -04:00
Alex Ross
7249efcfae Add tree-sitter for css (#244112)
* Add tree-sitter for css

* Hard code root scopes

* Add some temp logging for test

* Exclude css from module ignore

* Remove log lines
2025-03-20 13:45:47 +01:00
Christof Marti
90dde06fb6 Revert "Add tree-sitter for css (#243988)"
This reverts commit c14e7b4b9b.
2025-03-20 08:32:03 +01:00
Alex Ross
c14e7b4b9b Add tree-sitter for css (#243988)
* Add tree-sitter for css

* Hard code root scopes
2025-03-19 09:55:14 -07:00
Daniel Imms
5426dde42c Update xterm, bring in conpty resize improvements
See xtermjs/xterm.js#5321
Part of #241978
2025-03-14 11:03:16 -07:00
Alex Ross
38b30e9cc1 Update @vscode/tree-sitter-wasm (#241351) 2025-02-20 16:42:47 +01:00
Daniel Imms
938f85c342 xterm@^5.6.0-beta.98
Fixes #239917
Includes xtermjs/xterm.js#5313
2025-02-14 07:10:51 -08:00
Alex Ross
e2a3691756 Use tree sitter for ini (#240534)
* Use tree sitter for ini
Part of #210475

* Include ini in tree sitter colorization tests

* Remove /r
2025-02-13 08:36:42 +01:00
Daniel Imms
cce1e2da39 xterm@5.6.0-beta.97
Fixes #239838
2025-02-07 06:45:40 -08:00
Alex Ross
39cf1ffb98 Adopt Tree-Sitter 0.25.1 (#239683)
* Adopt Tree-Sitter 0.25.1

* Update @vscode/tree-sitter-wasm

* Fix incorrect redirect
2025-02-05 17:58:39 +00:00
Matt Bierner
af5a2ecd50 '
Merge branch 'main' into passive-penguin
2025-01-10 15:21:11 -08:00
Daniel Imms
f53e4ea0e3 Update addon-progress and remove ! 2025-01-09 06:27:18 -08:00
Daniel Imms
23e6be7d99 Handle terminal progress
Fixes #237564
2025-01-09 06:04:51 -08:00
Daniel Imms
7297b69dc7 Update xterm.js 2025-01-08 07:49:13 -08:00
Alex Ross
46fdeafcce Update tree-sitter-wasm (#237466) 2025-01-08 11:24:27 +01:00
Daniel Imms
9207b53cf3 @xterm/xterm@5.6.0-beta.74
Fixes #117741
2024-12-20 10:58:46 -08:00
Matt Bierner
83c8c2074b Also bump in remote 2024-12-19 12:34:03 -08:00
Daniel Imms
3751bec9c2 xterm@5.6.0-beta.70
Fixes #233005
2024-11-04 13:30:44 -08:00
Daniel Imms
926cc8c5e5 xterm@5.6.0-beta.68 2024-11-01 07:58:26 -07:00
Daniel Imms
a845c87459 Add ligatures working under Electron
Part of #34103
2024-11-01 07:42:40 -07:00
Benjamin Pasero
b591f33513 🆙 jschardet@3.1.4 (#230197) 2024-10-01 08:19:15 +02:00
Daniel Imms
3f5fa8a8bb xterm@5.6.0-beta.65
Fixes #230010
2024-09-28 06:50:53 -07:00
Robo
1926933184 build: add npmrc to remote/web folder (#229330) 2024-09-23 06:57:05 +02:00
Daniel Imms
41083a6611 xterm@5.6.0-beta.64
Fixes #224750
2024-09-20 11:21:50 -07:00
Alex Ross
0daa65ac43 Adopt @vscode/tree-sitter-wasm 0.0.4 (#228988) 2024-09-18 14:20:47 -07:00
Alex Ross
f4b5fd6791 Use 0.0.3 @vscode/tree-sitter-wasm (#228235) 2024-09-11 15:44:04 +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
Daniel Imms
ffbd0ab953 @xterm/xterm@5.6.0-beta.56
Part of #196795
2024-09-01 07:48:29 -07: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
Alexandru Dima
4520f0f17a update to vscode-textmate@9.1.0 (#225682) 2024-08-15 12:51:56 +02:00
Daniel Imms
7fe9562d4c @xterm/xterm@5.6.0-beta.52
Fixes #224555
2024-08-05 12:37:51 -07:00
Alex Ross
eb4633fe7f Re-merge introduction of tree sitter (#223474)
* Make space for tree sitter

* Add the tree sitter wasm file

* Very naive tree-sitter syntax highlighting for html, with a layer breaker

* Update tree when content changes

* WIP for making abstract tokens class

* Handle theme changes

* Replace entire text model value with parse callback

* Perf improvements

* Add tree-sitter-typescript

* Add typescript + better initial parsing

* Refactor into tree parsing service and fix flaw in parse callback

* Remove things that aren't the parser service

* Add yielding

* Remove changes that aren't required for PR

* Remove more file changes

* Reduce yield to 50 ms

* Fix incremental parsing

* Try update node-abi

* Revert "Try update node-abi"

This reverts commit df28801e31.

* Update text buffer chunk api

* fix build

* Remove tree-sitter dependency

* Adopt new, as yet unpublished, `@vscode/tree-sitter-wasm` package

* Use published `@vscode/tree-sitter-wasm` package

* Break `TreeSitterTree` and `TreeSitterParserService` into better pieces
and:
- document the order of editor changes
- use service injection where `TextModel` is constructed

* Fix tests

* Remove unneeded import

* Fix missing tree-sitter-wasm in web and remote

* Make package.jsons match

* Add @vscode/tree-sitter-wasm to web loader config

* Try using importAMDNodeModule

* PR feedback

* Add race condition test for changing language while loading language

* Use same timeout

* Queue content changes

* Remove override dispose

* Move queue into TreeSitterTree

---------

Co-authored-by: Peng Lyu <penn.lv@gmail.com>
2024-07-29 11:31:28 +02:00
Alex Ross
7ed4cdc56d Revert "Add telemtry for how long it takes to parse files with tree-sitter" (#223317)
Revert "Add telemtry for how long it takes to parse files with tree-sitter (#…"

This reverts commit 6c15586994.
2024-07-24 08:47:51 +02:00
Alex Ross
6c15586994 Add telemtry for how long it takes to parse files with tree-sitter (#213565)
* Make space for tree sitter

* Add the tree sitter wasm file

* Very naive tree-sitter syntax highlighting for html, with a layer breaker

* Update tree when content changes

* WIP for making abstract tokens class

* Handle theme changes

* Replace entire text model value with parse callback

* Perf improvements

* Add tree-sitter-typescript

* Add typescript + better initial parsing

* Refactor into tree parsing service and fix flaw in parse callback

* Remove things that aren't the parser service

* Add yielding

* Remove changes that aren't required for PR

* Remove more file changes

* Reduce yield to 50 ms

* Fix incremental parsing

* Try update node-abi

* Revert "Try update node-abi"

This reverts commit df28801e31.

* Update text buffer chunk api

* fix build

* Remove tree-sitter dependency

* Adopt new, as yet unpublished, `@vscode/tree-sitter-wasm` package

* Use published `@vscode/tree-sitter-wasm` package

* Break `TreeSitterTree` and `TreeSitterParserService` into better pieces
and:
- document the order of editor changes
- use service injection where `TextModel` is constructed

* Fix tests

* Remove unneeded import

* Fix missing tree-sitter-wasm in web and remote

* Make package.jsons match

* Add @vscode/tree-sitter-wasm to web loader config

* Try using importAMDNodeModule

* PR feedback

* Add race condition test for changing language while loading language

* Use same timeout

* Queue content changes

* Remove override dispose

* Move queue into TreeSitterTree

---------

Co-authored-by: Peng Lyu <penn.lv@gmail.com>
2024-07-23 14:59:04 +02:00