Commit Graph
204 Commits
Author SHA1 Message Date
Alex RossandGitHub 6285faddc6 Update shellscript grammar (#207828) 2024-03-15 12:52:46 +01:00
Alex RossandGitHub 35d97bc7e4 Update grammars (#203521) 2024-01-26 13:06:22 +01:00
Alex RossandGitHub 6d9541fff6 Try out a new Go grammar (#202070) 2024-01-09 14:11:19 +01:00
Alex RossandGitHub 3c86ede5f5 Update grammars (#200730) 2023-12-13 13:08:01 +01:00
Alex RossandGitHub b0d60e8e2e Add the new Less grammar back in (#200043)
This reverts commit 95c05bf57b.
2023-12-05 15:17:02 +01:00
Alex RossandGitHub 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 AeschlimannandGitHub cc08867677 merge theme rules for css/less/scss variables (#197657) 2023-11-17 11:40:21 +01:00
Alex RossandGitHub ce40e7ce61 Adopt Better-Less grammar (#197557)
Consider adopting a new Less grammar
Fixes #171239
2023-11-07 17:36:06 +01:00
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
fa22e9ac36 Update grammars (#196839)
Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2023-10-27 09:35:46 -07:00
Alex RossandGitHub 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 RossandGitHub ed1a8da946 Rename Perl6 to Raku (#192882)
Fixes #168319
2023-09-12 16:20:16 +02:00
Martin AeschlimannandGitHub 07fcfc80c3 update to latest jsonc-parser (#192872) 2023-09-12 14:58:01 +02:00
Alex RossandGitHub 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 RossandGitHub 6021e01795 Update grammars (#192749) 2023-09-11 11:38:45 +02:00
Alpha Romer ComaandGitHub 7ef754c2f6 Fix supported markdown-lint violations in markdown files (#190750)
docs: fix supported markdownlint violations
2023-08-24 08:37:25 +00:00
Alex RossandGitHub 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
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 BiernerandGitHub 665aa8a131 Update markdown grammar (#189420) 2023-08-02 06:47:09 -07:00
Alex RossandGitHub 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. LiangandGitHub 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 RossandGitHub 53dcdf3ee8 Update grammars (#184151)
* Update grammars

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

* Update tests
2023-05-22 08:27:24 -07:00
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 RossandGitHub a68448fcb4 Update grammars (#181143) 2023-04-28 17:43:01 +02:00
Alex RossandGitHub 0e8b1c8e09 Confusing Bash/Shell syntax highlighting (#179775)
Fixes #179749
2023-04-12 14:33:55 +01:00
Alex RossandGitHub d77e53a2b3 Update shellscript grammar (#179758) 2023-04-12 13:39:51 +01:00
Alex RossandGitHub 6ac83c7c7d Update grammars (#178508)
* Update grammars

* Update tests
2023-03-29 11:38:06 +02:00
Alex RossandGitHub 24483e964e Update shellscript grammar (#177087) 2023-03-14 06:50:36 -07:00
Alex RossandGitHub 782ea94050 Update shellscript grammar (#176978) 2023-03-13 09:40:43 -07:00
Alex RossandGitHub 8ca37ee70f Update shellscript grammar (#176491) 2023-03-08 11:18:43 +01:00
Alex RossandGitHub 71f59872f3 Update shellscript grammar (#176241) 2023-03-06 17:29:54 +01:00
Alex RossandGitHub cf4acb8050 Update grammars (#175350) 2023-02-24 17:22:41 +01:00
David DossettandGitHub a987fee52e Use solid foreground colors in v2 themes (#173844) 2023-02-08 11:46:07 -08:00
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 RossandGitHub 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 RossandGitHub 166b8e2d90 Update grammars (#172807) 2023-01-30 06:27:20 -08:00
Alexander FadeevandGitHub 82305d3a31 Makefile tests for else ifeq|ifneq|... syntax (#170888) 2023-01-12 13:33:38 +01:00
Matt BiernerandGitHub 57dd298b47 Add typings for test runner scripts (#169196) 2022-12-15 02:19:24 +01:00
Alex RossandGitHub fcb4dd3b18 Try out new shellscript grammar! (#169118)
Part of #77675
2022-12-14 12:52:31 +01:00
David DossettandGitHub 9f43a4ffda Add experimental default dark/light v2 themes (#167104)
* Add experimental default dark/light themes

* Update themes and name

* Add colorizer test results

* Update accent color

* Fix status bar no folder background issue

* Fix tree indent strokes

* Update lighter layer

* Fix breadcrumbs

* Update accent

* Update light lights and dark links

* Update colorizer test
2022-12-05 11:41:50 -08:00
Alex RossandGitHub fb2837b03f Update grammars (#167938) 2022-12-02 16:42:11 +01:00
Alex RossandGitHub ceaf7a431b Update grammars (#165100) 2022-11-01 07:21:34 -07:00
Raymond ZhaoandGitHub bf220dd91e Darken red colour in light theme for better contrast (#163335) 2022-10-12 08:47:13 -07:00
Alex RossandGitHub 5dfca53892 Try out a new razor grammar (#163212)
Part of #163149
2022-10-10 12:43:02 -07:00
Alex RossandGitHub ec5b41ddc2 Update grammars (#159445)
Update grammar
2022-08-29 14:08:44 +02:00
491a83446e Add Makefile tests for upgraded grammar: comma, comment, shebang (#154625)
Add Makefile tests for upgraded grammar: comma, comment, shebang.

1. Add comma separator for function calls and conditions.
2. Escaping a comment with an odd count of backslashes (\#, \\\#).
3. Match debian/rules files based on shebang.

Co-authored-by: Alex Ross <alros@microsoft.com>
2022-07-12 13:11:36 +02:00