Commit graph

183 commits

Author SHA1 Message Date
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
David Dossett 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 Ross fb2837b03f
Update grammars (#167938) 2022-12-02 16:42:11 +01:00
Alex Ross ceaf7a431b
Update grammars (#165100) 2022-11-01 07:21:34 -07:00
Raymond Zhao bf220dd91e
Darken red colour in light theme for better contrast (#163335) 2022-10-12 08:47:13 -07:00
Alex Ross 5dfca53892
Try out a new razor grammar (#163212)
Part of #163149
2022-10-10 12:43:02 -07:00
Alex Ross ec5b41ddc2
Update grammars (#159445)
Update grammar
2022-08-29 14:08:44 +02:00
Alexander Fadeev 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
Alex Ross 473c57e261
Update make grammar (#154789) 2022-07-11 12:14:40 +02:00
Alex Ross 4e53b01452
Pull in cpp grammar fixes (#152449) 2022-06-17 11:17:09 +00:00
Alex Ross 037af4beaf
Update fsharp grammar (#152048) 2022-06-14 14:41:04 +02:00
Alex Ross bd1abe08c3
Update C grammar locations (#151733)
Fixes #150288
2022-06-10 13:55:11 +00:00
Johannes 0656d21d11
auto-fixed prefer-const violation 2022-06-08 17:49:21 +02:00
Martin Aeschlimann e783fdc25e
css/html/json update to lsp 8 (#148715) 2022-05-19 12:48:53 +02:00
Johannes c13d581bce
move gulp-tsb into the build/lib remove as dependency 2022-05-05 11:35:33 +02:00
Ladislau Szomoru 18022bdaff
Update Dockerfile fixture/result (#148688) 2022-05-04 10:48:01 +02:00
David Dossett 0b4e6517fa Update light hc syntax highlighting (Fix #146687) 2022-04-22 15:41:08 -07:00
Alex Ross 01cfc62ead
Update shellscript grammar and add new test 2022-04-12 16:49:52 +02:00
最萌小汐 9422f0a568
update Lua-grammar (#144975)
* update Lua-grammar

* Update test

Co-authored-by: Alex Ross <alros@microsoft.com>
2022-03-14 13:10:21 +01:00
Robo 32d40cf44e
chore: update to electron 17 (#143223)
* chore: bump electron@17.0.0

* Revert "chore: revert to electron@13 (#143851)"

This reverts commit df645f1450.

* chore: bump electron@17.1.0

* Revert "ci: fix build with latest node-gyp"

This reverts commit c3e948aa30.

* chore: revert ci changes for node v16

* chore: update yarn.lock

* chore: bump electron@17.1.1
2022-03-11 00:51:37 +09:00
Alex Ross c2b51748cf
Investigate potential rst grammar to include as a built-in extension (#144680) 2022-03-10 15:07:28 +01:00
Matt Bierner 1da08937d8
Remove text mate highlighting of more JS/TS built-ins
Identifying specific symbols is a better fit for semantic highlighting instead of textmate as semantic highlighting prevents false positives

This keeps around a few of the most built-ins for now but we may revisit these in the future
2022-03-01 16:17:16 -08:00
Robo df645f1450
chore: revert to electron@13 (#143851)
* Revert "chore: update to electron 16 (#137241)"

This reverts commit 01df559c18.
This reverts commit 46301339b7

* ci: fix remote compiler for sdl-scan

* chore: fix remote/.yarnrc

* chore: fix build/npm/postinstall.js

* chore: rm crash reporter from shared process

* chore: rm crash reporter from ext host

* chore: fix build/lib/layersChecker.ts

* :chore: preserve some more changes

* fix tests

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2022-02-24 17:49:49 +01:00
David Dossett 4da6b54ee7
Add Light High Contrast theme (#143398)
* Add light HC theme and split quick pick options to light and dark

* Update colorizer tests

* Fix default HC name and add Beta tag to light HC theme

* Revert prettier updates
2022-02-18 14:41:17 -08:00
Martin Aeschlimann 5d37c8c6d9
meta.return-type is not supposed to be styled by a theme, yet Dark+ and Light+ still do. Fixes #142672 2022-02-10 14:07:36 +01:00
Robo 01df559c18
chore: update to electron 16 (#137241)
* chore: bump electron@15.3.0

* chore: bump node@16.x

* chore: enable render process reuse

* Revert "watcher - use `type` property for crash reporter location"

This reverts commit bfa488dd8f.

* Revert "watcher - enable crash reports on linux (#136264)"

This reverts commit af261488f8.

* chore: enable crashpad on linux

* chore: bump electron@15.3.1

* chore: update api changes

* chore: bump @vscode/sqlite3@5.0.3

* spec: skip non-context aware module unittests

* chore: fix perf hook integration with node environment

* fix: adopt fs api changes

* chore: fix integration tests

* chore: bump electron@15.3.2

* chore: bump electron@16.0.0

* temp(macOS): kill test instances in OSS

* Revert "temp(macOS): kill test instances in OSS"

This reverts commit b0d796c8d64227a5ec012c060bbbee7d9da27568.

* chore: update chromium version for clang downloader

* some 💄 changes

* align with changes

* adopt more fs.rm

* 💄

* chore: bump @vscode/sqlite3@5.0.4

* fix layers check to account for duplicated types from node.js

* update todo for type casts

* smoke - fix compile issue

* chore: update module cache

* watcher - fix unhandled rejection (fix #137416)

* ci: update node version

* enable stack dumping

* update electron types to 16.x

* chore: bump @vscode/sqlite3@5.0.5

Refs https://github.com/microsoft/vscode/issues/137496

* fix layer issue

* add `AbortSignal` to core types

* chore: update linux compile flags

Refs 797723ec83

* ci: fix linux build

* ci: update github ci cache

* ci: fix remote build in github ci

* ci: better fix for remote build

* chore: bump azure cache

* chore: fix merge conflict

* :chore: update to electron@16.0.2

* chore: bump @vscode/sqlite3@5.0.7

* ci: update to gcc-4.9 for remote

Refs https://github.com/microsoft/vscode/issues/137659

* ci: switch to buster for linux arm

Refs https://github.com/microsoft/vscode/issues/137927

* ci: fix build on linux arm64

* ci: fix arm client compiler toolchain

Refs #137927

* chore: bump electron@16.0.3

* ci: fix compile flags for the c toolchain

* chore: bump electron@16.0.4

* Add experimental dark mode flag (#139109)

* Add experimental dark mode flag

* Apply PR feedback

* chore: bump electron@16.0.6

* chore: bump electron@16.0.7

Fixes https://github.com/microsoft/vscode/issues/138792
Fixes https://github.com/microsoft/vscode/issues/139300

* chore: experimental highlight API

* smoke - fix compile issue

* FIXME: custom ELECTRON_RUN_AS_NODE with node worker

* Revert "chore: bump electron@16.0.7"

This reverts commit 5fd01cf37c.

* Revert "Revert "chore: bump electron@16.0.7""

This reverts commit a7f1b73951.

* chore: fix github linux workflow

* chore: address review feedback

* chore: bump electron@16.0.8

* ci: revert to stretch distro for linux arm

Refs https://github.com/microsoft/vscode/issues/137927

* ci: force build

* chore: update yarn.lock

* address feedback

* Revert "FIXME: custom ELECTRON_RUN_AS_NODE with node worker"

This reverts commit 7b48fa3732.

* ci: fix remote folder build

* chore: fix github linux ci

* 🆙 `versionSpec`

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Co-authored-by: Raymond Zhao <raymondzhao@microsoft.com>
2022-02-08 20:09:00 +01:00
ChaseKnowlden e3a0fceb00
Update Lua Grammar (#142107) 2022-02-04 13:33:10 +01:00
Caio Agiani 09c2e177ea
Fix typos (#141959)
* src: fix typo formated -> formatted

* src: fix typo recieve -> receive

* src: fix typo successfuly -> successfully

* src: fix typo neccessary -> necessary

* extensions: fix typo existance -> existence

* src: fix typo appearence -> appearance

* src: fix typo choosen -> chosen

* src: fix typo unkown -> unknown

* src: fix typo whenever -> whenever

* src: fix typo proccess -> process

* src: fix typo occured -> occurred

* src: fix typo occuring -> occurring

* src: fix typo defintion -> definition
2022-02-01 09:16:37 -08:00
Alex Ross a1a4c0a63b
Update grammars 2022-01-31 16:52:03 +01:00