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
Raymond Zhao
e061feef09
Restore foreground color for operators in dark_plus theme ( #277204 )
...
Revert "Revert "Revert "Update foreground color for operators in dark_plus th…"
This reverts commit eaea0cd151 .
2025-11-13 17:35:32 +00: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
Raymond Zhao
eaea0cd151
Revert "Revert "Update foreground color for operators in dark_plus theme"" ( #275925 )
2025-11-06 20:20:10 +00:00
Lee Murray
240c342c34
Revert "Update foreground color for operators in dark_plus theme"
2025-11-06 15:10:34 +00:00
Remco Haszing
ec7b5e7fa4
Add dotenv support ( #273074 )
...
* Add dotenv support
This adds basic language support for the dotenv language. This includes
syntax highlighting and a language configuration file.
The dotenv language is applied to files with the `.env` extension, files
named `.env`, `.flaskenv`, or `user-dirs.dirs`, and file names starting
with `.env.`.
The grammar is downloaded from https://github.com/dotenv-org/dotenv-vscode .
Closes #267333
* Add tests
* Remove ini and shellscript language conflicting with dotenv
---------
Co-authored-by: Alex Ross <38270282+alexr00@users.noreply.github.com >
2025-10-30 09:51:57 +00: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
mrleemurray
9cf4f6eb6e
Update color definitions for keyword control in YAML and TypeScript test files
...
- Changed the color for "keyword.control" from #C586C0 to #CE92A4 in various test JSON files for better visibility across themes.
2025-10-09 11:06:28 +01:00
Ladislau Szomoru
4d7c56ee82
Engineering - Add GitHub action for pull requests ( #254056 )
...
* Test - handle running tests as part of a GitHub action
* Add GitHub action files
2025-07-04 08:21:56 +00:00
Alex Ross
ba42f2d6e7
Treesitter-refactoring ( #249608 )
...
* wip
* Refactoring TokenizationTextModelPart
* treeSitterTokensPart1
* fix casing
* fix casing 2
* wip models
* progress
* Take care of some of the boring refactor changes (#249429 )
* Implements TreeSitterLibraryService
* progress
* more progress
* Removes befores
* Take care of some of the boring refactor changes
* Settable observable
* Get things running
* Fix tree not updated when event files (#249544 )
* Fix tree not updated when event files
* Update on Theme change
* Implements visibleLineRanges
* File renames and initial tree handling
* Fixes enter indentation bug
* Get tree sitter tokenization tests passing again
* Get colorize tests running again, minus injected regex test
* Fix monaco editor checks
* More standalone editor fixes
* Fix hygiene
* Fix TestTextModel
* Fix more tests
---------
Co-authored-by: Henning Dieterichs <hdieterichs@microsoft.com >
2025-05-23 16:30:38 +02:00
Ely Ronnen
6209ba20b4
Update log tmLanguage from vscode-logfile-highlighter 3.4.1 ( #249046 )
...
* update log tmLanguage from vscode-logfile-highlighter 3.4.1
* fix colorize tests for log
* Run update grammar script
---------
Co-authored-by: Alex Ross <38270282+alexr00@users.noreply.github.com >
2025-05-21 07:36:20 +00:00
Randy Lai
43996d7422
Update upstream repo for R syntax ( #248880 )
...
* Update upstream repo for R syntax
* Update cgmanifest and grammar
---------
Co-authored-by: Alex Ross <38270282+alexr00@users.noreply.github.com >
2025-05-15 10:04:36 +00:00
Robo
12326f9906
chore: update to Electron 35 ( #245423 )
...
* chore: bump electron@35.0.1
* chore: update types/node@22.x
* chore: update web types for node v22.x
* chore: bump electron@35.1.2
* chore: update node.js build
* chore: update app.dock usage
Refs 71f3ff6bf2
* chore: bump electron@35.1.4
* chore: bump electron@35.1.5
* ci: bump sysroot to glibc 2.28 and gcc 10.5.0
* ci: enable timeout for smoketests
* chore: bump min glibcxx to 3.4.26 for server
* Revert "ci: enable timeout for smoketests"
This reverts commit afb637e85d .
* chore: update debian dependencies
* fix: workaround npm.ps1 argument parsing with powershell
* chore: update rpm dependencies
* test: partially revert changes from 242535
* test: remove redudant keybinding dispatch for selectTab
* test: fix test failure from running configured tasks
* test: focus settings editor for preferences.test.ts
* node - adopt compile cache (#246835 )
* node - adopt compile cache
* adopt for utility process
* tweaks
* log state of compilation cache
* Revert "log state of compilation cache"
This reverts commit f3840387a583013834762e2c44f6e8424929297f.
* Revert "node - adopt compile cache (#246835 )"
This reverts commit 673a00cab66c9bac87f3cd27b80efa41c80150f1.
* chore: update builds
* chore: bump electron@35.2.0
* chore: bump electron@35.2.1
* chore: bump electron@35.2.2
---------
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com >
2025-05-09 19:03:36 +09:00
Alex Ross
0ac234bbd0
Update grammars ( #248013 )
2025-05-02 16:29:24 +03:00
Alex Ross
921fd5ab12
Tests
2025-04-22 10:53:30 +02:00
Alex Ross
1a602a166e
Fix some missing typescript scopes ( #245870 )
2025-04-07 12:54:52 +02:00
Alex Ross
673d12b1da
Add tests for some new css colorization behavior ( #245652 )
...
* Add tests for some new css colorization behavior
* Add some more
2025-04-07 10:30:17 +02:00
Alex Ross
e6b351d8f1
> different color ( #245658 )
...
Fixes #244631
2025-04-04 11:43:00 +02:00
Alex Ross
2474d3bffe
@property css different color ( #245656 )
...
Fixes #244634
2025-04-04 11:40:56 +02:00
Alex Ross
8c8c5b6751
!important different color ( #245654 )
...
Fixes #244632
2025-04-04 11:14:43 +02:00
Alex Ross
365173692a
Feedback: variables render differently in Insiders ( #245650 )
...
Fixes #244579
2025-04-04 11:13:57 +02:00
Alex Ross
93d9c9824b
Add highlights rule for character escapes ( #245647 )
2025-04-04 10:33:44 +02:00
Alex Ross
90dba364dd
Feedback: before / after selectors not rendering correctly ( #245645 )
...
Fixes #244575
2025-04-04 10:18:32 +02:00
Alex Ross
1abecdf3cf
Feedback: universal selectors not rendering with syntax highlighting ( #245564 )
...
Fixes #244574
2025-04-03 18:21:11 +02:00
Alex Ross
fe55ba1fa4
Feedback: ID selectors not receiving syntax highlighting ( #245561 )
...
Fixes #244568
2025-04-03 18:16:03 +02:00
Alex Ross
19d868bfd3
Regex Tree Sitter: Look around expressions not colored correctly ( #245492 )
...
Fixes #244605
2025-04-03 16:44:18 +02:00
Alex Ross
dea304ea91
Tree sitter: A lot of detail gone from RegExp ( #245427 )
...
Fixes #244572
2025-04-03 12:08:00 +02: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
Alex Ross
e2eba0acf6
Re-enable regex highlight test ( #244014 )
...
* Re-enable regex highlight test
* 🤦♀️
2025-03-19 17:21:45 +01:00
Alex Ross
b184dce8db
Remove regex test to fix build ( #243884 )
...
This is a temporary measure to unblock the build, will re-enable shortly.
2025-03-18 17:41:26 +01:00
Alex Ross
4c3518eafe
Injected languages for tree sitter ( #243180 )
2025-03-18 10:48:27 +01:00
Alex Ross
da2bbdda80
tree-sitter doesn't apply some scopes (part 3) (#243088 )
...
Fixes #241715
2025-03-10 10:17:02 -07:00
Alex Ross
dfcb5f367c
Night Owl Light appears much more blue with Tree Sitter highlighting ( #242058 )
...
* Night Owl Light appears much more blue with Tree Sitter highlighting
Fixes #241887
* Fix template strings
* Fix tests
* Fix tests
2025-03-05 09:37:10 -08:00
Alex Ross
5ff58539b4
Support targeting multiple scopes in a theme with tree sitter ( #241703 )
...
* Support targeting multiple scopes in a theme with tree sitter
* Fix tests
* Respond to PR feedback
* Fix tests
2025-03-05 11:07:56 +00:00
Alex Ross
a267073204
Update grammars ( #242296 )
2025-02-28 13:20:44 +01:00
Alex Ross
3f1ff35be2
Differences in syntax colorization on file full of errors ( #242085 )
...
Fixes #241813
2025-02-26 16:48:17 +01:00
Alex Ross
60634f8690
Make some more tree sitter typescript fixes ( #241358 )
...
* Make some more tree sitter typescript fixes
And add a test for https://github.com/microsoft/vscode/issues/241001
* Test should only look at most specific scope, just like is actually done right now.
2025-02-21 11:10:26 +00:00
Alex Ross
c9bdec7f38
Fix font styles and a bunch of missing typescript scopes for tree sitter ( #241208 )
...
* Fix font styles and a bunch of missing typescript scopes for tree sitter
Fixes #241001
* Update tests
2025-02-19 15:50:20 +00:00
Alex Ross
6d1f434843
Add boolean and punctuation scopes for typescript with tree sitter ( #240983 )
...
* Add boolean and punctuation scopes for typescript with tree sitter
Fixes #240884
* Fix tokenization tests
2025-02-17 11:22:23 +01:00
Alex Ross
44e499ede1
Change tree sitter setting to be per langauge ( #240622 )
...
* Change tree sitter setting to be per langauge
Part of #210475
* Fix accidentally unregistering languages
2025-02-13 10:49:27 +00: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
Alex Ross
09fe3fcbc1
Adopt new Ruby grammar ( #235732 )
2024-12-11 17:53:04 +01:00
Alex Ross
1c91332da7
Re-adopt new YAML grammar! ( #232244 )
...
* Embedded languages syntax highlighting stopped working in 1.92.0
Fixes #224978
* Get embedded grammar
2024-12-10 12:32:57 +01:00
Alex Ross
337cacaafa
Revert YAML Grammar ( #231096 )
...
Part of #224862
2024-10-11 10:24:35 +02:00
Robo
9494a89080
chore: add npmrc to extensions folder ( #230214 )
2024-10-01 12:43:01 +02:00
Alex Ross
ef44e67783
Improve unusable slowness of tree sitter syntax highlighting ( #229951 )
...
* Improve unusable slowness of tree sitter syntax highlighting
Part of #229935
* Improve improvement as discussed with Martin
* Fix score
* Fix test error
2024-09-30 15:18:32 +02:00
Alex Ross
e67b1982e1
Update grammars ( #229924 )
2024-09-27 10:27:11 +02:00
Alex Ross
955c13c0b9
[] in sticky scroll is not highlighted correctly when tree sitter is enabled ( #229849 )
...
Fixes #229556
2024-09-26 19:24:23 +02:00