Commit Graph

80 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Khaled
0dba492e01 Corrected the regex to detect espaced percent symbol (#139437) 2022-01-05 12:13:29 -08:00
Matt Bierner
0012ea2fb4 Don't include [ and ] as strings in markdown links
Fixes #139051
2022-01-05 11:18:21 -08:00
Jerome Lelong
65a12fac51 Basic LaTeX built-in extension (#138395) 2021-12-15 13:05:22 +01:00
Ladislau Szomoru
fff34ad86b Fix test input 2021-11-12 15:27:40 +01:00
Ladislau Szomoru
e95c74c4c7 Extract git static contributions into a separate extension 2021-11-12 11:35:35 +01:00
Ladislau Szomoru
4549bd26c7 Extract diff language into its own extension (#136967) 2021-11-12 10:59:52 +01:00
Matt Bierner
b614fb5db8 Fix highlighting of dollar amount at start of line in md files
Fixes #136535
2021-11-08 17:53:52 -08:00
Matt Bierner
0eee604f01 Allow non-word character after inline math code block
Fixes #136584
2021-11-08 17:43:46 -08:00
Alex Ross
9efc116de0 Update grammars 2021-11-02 15:32:34 +01:00
Matt Bierner
17dc026824 Fix a few more cases of math block highlighting
Fixes #135254
2021-10-20 15:56:28 -07:00
Matt Bierner
c38d441d37 Make sure inline math is marked as markdown-math
For https://github.com/microsoft/vscode/issues/134893#issuecomment-947669488
2021-10-20 14:22:44 -07:00
Matt Bierner
3dc7b03ff9 Allow leading and trailing math on same line as math block
Fixes #134893
2021-10-20 14:17:46 -07:00
Matt Bierner
04f51add61 Disable markdown math inside of raw code blocks
For #135254
2021-10-20 13:29:28 -07:00
Matt Bierner
e125508f86 Update colorization test results
Turns out the results differ if you run the tests in VS Code insiders VS from the cli :(
2021-10-14 17:05:08 -07:00
Matt Bierner
41df0673f8 Allow spaces in katex commands
Fixes #128411
2021-10-14 16:00:00 -07:00
Alex Ross
6ceee3192e Update grammars 2021-08-30 14:45:57 +02:00
Matt Bierner
a4eb4d6884 Update math fixture 2021-08-05 14:00:36 -07:00