Commit Graph

211 Commits

Author SHA1 Message Date
Alex Ross
9473445f7d Update grammars (#224167) 2024-07-29 02:33:03 -07:00
Alex Ross
c2df206074 Update YAML grammar (#221244) 2024-07-09 10:20:26 +02:00
Alex Ross
2b9ebd6897 Update less grammar (#221128) 2024-07-08 15:04:25 +02:00
Alex Ross
9255a27d88 Try out new YAML grammar (#219833)
* Try out new YAML grammar
Part of #180523

* Pull in other/plain update
2024-07-03 12:13:46 +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
Alex Ross
5c213a1e84 Update grammars (#211439) 2024-04-26 04:52:52 -07:00
Alex Ross
b557947e50 Update grammars (#209932) 2024-04-09 12:20:39 +02:00
Alex Ross
6285faddc6 Update shellscript grammar (#207828) 2024-03-15 12:52:46 +01:00
Alex Ross
35d97bc7e4 Update grammars (#203521) 2024-01-26 13:06:22 +01:00
Alex Ross
6d9541fff6 Try out a new Go grammar (#202070) 2024-01-09 14:11:19 +01:00
Alex Ross
3c86ede5f5 Update grammars (#200730) 2023-12-13 13:08:01 +01:00
Alex Ross
b0d60e8e2e Add the new Less grammar back in (#200043)
This reverts commit 95c05bf57b.
2023-12-05 15:17:02 +01:00
Alex Ross
95c05bf57b Revert new Less grammar in preparation for release (#199017)
* Revert "merge theme rules for css/less/scss variables (#197657)"

This reverts commit cc08867677.

* Revert "Adopt Better-Less grammar (#197557)"

This reverts commit ce40e7ce61.
2023-11-24 14:11:23 +01:00
Martin Aeschlimann
cc08867677 merge theme rules for css/less/scss variables (#197657) 2023-11-17 11:40:21 +01:00
Alex Ross
ce40e7ce61 Adopt Better-Less grammar (#197557)
Consider adopting a new Less grammar
Fixes #171239
2023-11-07 17:36:06 +01:00
Noritada Kobayashi
c9b23f1fb0 Fix an issue that \xN8 and \xN9 in Rust strings are incorrectly colored (#196198)
* Update Rust grammar

* Add a test for #166781

* Make color themes in the test data for #166781 up-to-date

---------

Co-authored-by: Alex Ross <alros@microsoft.com>
2023-10-30 11:30:48 +00:00
Alex Ross
fa22e9ac36 Update grammars (#196839)
Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2023-10-27 09:35:46 -07:00
Alex Ross
50b3c04d0a Revert C# grammar to last-known-good commit (#195144)
* Revert C# grammar back to last-known-good commit
Part of #195098

* Also add missing test_cshtml.json test result

* Add new test for issue
2023-10-09 12:33:40 +02:00
Christof Marti
01edf51e0f Merge dev container configs (microsoft/vscode-remote-release#8994) 2023-10-03 12:26:07 +02:00
Alex Ross
ed1a8da946 Rename Perl6 to Raku (#192882)
Fixes #168319
2023-09-12 16:20:16 +02:00
Martin Aeschlimann
07fcfc80c3 update to latest jsonc-parser (#192872) 2023-09-12 14:58:01 +02:00
Alex Ross
cc4775f55a Update themes to accommodate C# grammar change (#192854)
See https://github.com/dotnet/csharp-tmLanguage/issues/290
2023-09-12 12:37:49 +02:00
Alex Ross
6021e01795 Update grammars (#192749) 2023-09-11 11:38:45 +02:00
Alpha Romer Coma
7ef754c2f6 Fix supported markdown-lint violations in markdown files (#190750)
docs: fix supported markdownlint violations
2023-08-24 08:37:25 +00:00
Alex Ross
f605341af6 Syntax highlighting incorrect in vscode.python for the word 'file' (#191111)
* Syntax highlighting incorrect in vscode.python for the word 'file'
Fixes #188190

* Update colorization test
2023-08-23 22:17:23 +01:00
Robo
ea490e5545 chore: update to Electron 25 (#188268)
* chore: update electron@25.3.0

* ci: update NodeTool version

* chore: update @types/node

* add more common types to layers checker

* chore: update debian dependencies

* chore: update rpm dependencies

* fix: use legacy dns result order of Node.js

* ci: remove deprecated always-auth npm config

Refs npm/cli@72a7eeb

* chore: update deb and rpm dependencies

* chore: update armhf rpm dependencies

* chore: update x64 debian dependencies

* chore: update x64 rpm dependencies

* chore: update electron@25.3.1

* chore: update electron@25.4.0

* chore: bump distro

* chore: bump distro

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2023-08-07 21:46:27 +09:00
Matt Bierner
665aa8a131 Update markdown grammar (#189420) 2023-08-02 06:47:09 -07:00
Alex Ross
5f9fc780c2 Add snippets as a language (#185017)
* Add snippets as a language

* Snippets -> Code Snippets

* Add tests

* json.snippets -> json.comments.snippets
2023-07-28 09:21:56 -07:00
Rickey K. Liang
2ff3c9a7e7 Revert Python docstring color (#184938)
Revert b4368691e9

all color themes: treat comment docstrings as comments too (#182162)
2023-07-10 14:48:51 +02:00
Alex Ross
53dcdf3ee8 Update grammars (#184151)
* Update grammars

* Update grammar tests
2023-06-02 13:54:16 +02:00
David Dossett
4d0b34bf48 Rename new default theme files (#183001)
* Rename new default theme files

* Update tests
2023-05-22 08:27:24 -07:00
Gabriel Staples
b4368691e9 all color themes: treat comment docstrings as comments too (#182162)
* monokai-color-theme.json: treat Python comment string blocks

...as comments too

* Update *all* themes to consider Python block string comments as comments

	modified:   extensions/theme-abyss/themes/abyss-color-theme.json
	modified:   extensions/theme-defaults/themes/dark_vs.json
	modified:   extensions/theme-defaults/themes/hc_black.json
	modified:   extensions/theme-defaults/themes/hc_light.json
	modified:   extensions/theme-defaults/themes/light_vs.json
	modified:   extensions/theme-kimbie-dark/themes/kimbie-dark-color-theme.json
	modified:   extensions/theme-monokai-dimmed/themes/dimmed-monokai-color-theme.json
	modified:   extensions/theme-monokai/themes/monokai-color-theme.json
	modified:   extensions/theme-quietlight/themes/quietlight-color-theme.json
	modified:   extensions/theme-red/themes/Red-color-theme.json
	modified:   extensions/theme-solarized-dark/themes/solarized-dark-color-theme.json
	modified:   extensions/theme-solarized-light/themes/solarized-light-color-theme.json
	modified:   extensions/theme-tomorrow-night-blue/themes/tomorrow-night-blue-color-theme.json

* Update all changes to use "string.quoted.docstring"

...instead of "string.quoted.docstring.multi.python", per
@aeschli's request here:
https://github.com/microsoft/vscode/pull/182162#issuecomment-1545296640

This way the comment formatting applies to *all* language quoted
docstrings, instead of just to Python.

* bring back python colorize tests

---------

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2023-05-15 14:38:43 +02:00
Alex Ross
a68448fcb4 Update grammars (#181143) 2023-04-28 17:43:01 +02:00
Alex Ross
0e8b1c8e09 Confusing Bash/Shell syntax highlighting (#179775)
Fixes #179749
2023-04-12 14:33:55 +01:00
Alex Ross
d77e53a2b3 Update shellscript grammar (#179758) 2023-04-12 13:39:51 +01:00
Alex Ross
6ac83c7c7d Update grammars (#178508)
* Update grammars

* Update tests
2023-03-29 11:38:06 +02:00
Alex Ross
24483e964e Update shellscript grammar (#177087) 2023-03-14 06:50:36 -07:00
Alex Ross
782ea94050 Update shellscript grammar (#176978) 2023-03-13 09:40:43 -07:00
Alex Ross
8ca37ee70f Update shellscript grammar (#176491) 2023-03-08 11:18:43 +01:00
Alex Ross
71f59872f3 Update shellscript grammar (#176241) 2023-03-06 17:29:54 +01:00
Alex Ross
cf4acb8050 Update grammars (#175350) 2023-02-24 17:22:41 +01:00
David Dossett
a987fee52e Use solid foreground colors in v2 themes (#173844) 2023-02-08 11:46:07 -08:00
Johan Walles
f8c3f89468 Unfreeze Git Commit Message grammar II (#173195)
* Unfreeze Git Commit Message grammar II

Before this change, the upstream for the VSCode Git grammar was dead.
Also, the test setup for that project has been EOL since 2014, so even
just running the tests was difficult.

The replacement grammar, unlike the current grammar:
* Has a vscode-tmgrammar-test test suite that is runnable and passing
  and that will run in CI for any PRs (in the upstream project)
* Has diff highlighting for Swedish as well as English (#133888)
* Highlights touched files both in Swedish and in English

Fixes #133888
Fixes #168847

Ref: <https://github.com/walles/git-commit-message-plus>

And for the record, I was the one setting up the new Git Commit Message
project. And it was fun!

* Remedy review feedback

Retain the line-too-long subject line highlighting. Improved to
highlight only the too-long part, but same idea still.

Special case English language file operations keywords and retain the
previous classification of those. But fallback to op-and-filename
classification when that fails (like it will for Swedish git for
example).

* Update colorize test result

* Update script and cgmanifest

---------

Co-authored-by: Alex Ross <alros@microsoft.com>
2023-02-07 13:40:16 +01:00
Alex Ross
90c3ebe980 Update shellscript grammar to get fix (#173574) 2023-02-06 07:14:56 -08:00
Alex Ross
7b369be6af Get latest shellscript grammar and update tests 2023-02-06 12:32:44 +01:00
Alex Ross
c3a17a3ebf Revert shellscript grammar change and add more tests 2023-02-06 12:32:44 +01:00
Alex Ross
166b8e2d90 Update grammars (#172807) 2023-01-30 06:27:20 -08:00
Alexander Fadeev
82305d3a31 Makefile tests for else ifeq|ifneq|... syntax (#170888) 2023-01-12 13:33:38 +01:00
Matt Bierner
57dd298b47 Add typings for test runner scripts (#169196) 2022-12-15 02:19:24 +01:00
Alex Ross
fcb4dd3b18 Try out new shellscript grammar! (#169118)
Part of #77675
2022-12-14 12:52:31 +01:00