Commit graph

136 commits

Author SHA1 Message Date
Alex Ross
95dcb89a92
Update grammars 2021-12-07 15:12:01 +01:00
Alex Ross
9efc116de0
Update grammars 2021-11-02 15:32:34 +01:00
Alex Ross
6ceee3192e
Update grammars 2021-08-30 14:45:57 +02:00
Alfi Maulana
0f99773ce9
feat: add .tpp and .txx as c++ extensions (#130101) 2021-08-05 09:27:58 +02:00
Alex Ross
6e2b7dda7a
Update cpp and objective c grammars 2021-07-13 11:44:15 +02:00
George White
ac1bde29aa
Add .ixx as a possible C++ extension
This extension is used for a C++ module interface file, required for it to be automatically compiled as a module in Visual Studio (as seen [here](https://docs.microsoft.com/en-us/cpp/cpp/modules-cpp?view=msvc-160#basic-example)). Therefore, files with this extension should be highlighted as C++.
2021-07-04 18:09:24 +01:00
Martin Aeschlimann
553d92817b Word selection is incomplete for C++ identifiers containing certain allowed characters. Fixes #121343 2021-04-26 22:08:38 +02:00
Pooya Vakeely
95420b39f2
Add cuda-cpp lang id, grammar and problem matchers (#119444)
* Adding a language ID for CUDA

* Adding aliases for CUDA C++

* Add problem matcher for cuda-cpp based on nvcc output

* Adding a grammar for cuda-cpp

* Adding a language configuration file for cuda-cpp

* Adding a colorizer test for cuda-cpp

* Update the update-grammars.js to pick up cuda-cpp.tmLanguage.json

* Add cgmanifest entry for cuda grammar

Co-authored-by: Alex Ross <alros@microsoft.com>
2021-03-30 11:18:48 +02:00
João Moreno
c3b556727e
fix update-grammars script 2021-02-02 12:30:08 +01:00
João Moreno
03da2de889 add proper yarn.lock files 2021-02-01 14:35:52 +01:00
João Moreno
ec805db5ed
add repository field to extensions package.json 2021-01-29 15:30:45 +01:00
João Moreno
9a5d14e307
run prettier over extensions json files 2021-01-29 15:19:18 +01:00
João Moreno
3b03189afa
Restore extensions in core (#114921)
* bring back grammar extensions

* fix hygiene

* Revert "pull themes from the marketplace"

This reverts commit 0738f76dac.
2021-01-25 17:07:56 +01:00
João Moreno
bc7d3c9ea6
remove grammar extensions 2021-01-15 12:35:17 +01:00
Alex Ross
4301777727 Update grammars 2020-12-14 15:50:30 +01:00
Alex Ross
f5f4af6db3 Update C++ grammar 2020-11-04 16:57:02 +01:00
Caio
425da67728 treat .c++ & .h++ files as c++, & update icon theme 2020-08-09 19:05:57 -03:00
Alex Ross
ca74bac4b0 Update grammars 2020-06-18 17:35:13 +02:00
Matt Bierner
040034f7ae Update colorizer baselines 2020-05-26 16:22:50 -07:00
Martin Aeschlimann
d5e12a12dd Use code-snippet suffix for extension snippets. Fixes #94625 2020-04-08 10:12:23 +02:00
Alex Ross
fa84b60808 Add test for specific c++ grammar freeze 2020-03-27 16:36:57 +01:00
Alex Ross
e096d95068 Revert C grammars to version from 1.43.1
There's still a line that can cause a freeze
2020-03-27 16:36:57 +01:00
Alex Ross
60cc1a28a5 Update C++ grammar 2020-03-23 10:49:14 +01:00
Alex Ross
2f6da279c7 Update grammars 2020-03-03 16:20:05 +01:00
Alex Ross
efa12b2f49 Update grammars 2020-02-03 13:01:47 +01:00
Miguel Solorio
666fcc0d62 Fix #88418, update number color for color contrast 2020-01-21 10:23:18 -08:00
Alex Ross
c45e6cc623 Update grammars 2019-12-10 12:35:30 +01:00
Alex Ross
ef582f49ad Add a few more token scopes to themes
Fixes https://github.com/microsoft/vscode/issues/80783
2019-12-02 11:47:20 +01:00
Alex Ross
33a084fa44 Update c++ grammar
Fixes #84410
2019-11-12 10:08:44 +01:00
Alex Ross
3f1f36333d Update grammars 2019-11-04 14:11:36 +01:00
Alex Ross
a0bc43dd73 Update grammars 2019-10-21 11:21:03 +02:00
Alex Ross
09836b5a84 Undo change to scope/coloring of #includes in cpp 2019-09-30 11:57:34 +02:00
Alex Ross
c1fdabc4f2 Update themes with c++ scopes based on discussion
Part of #80783
2019-09-19 11:22:47 +02:00
Alex Ross
6d7917cd3c Add some C++ scopes to dark+ and light+ themes
Part of #80783
2019-09-18 12:14:32 +02:00
Alex Ross
0070dabc0e Update cpp grammar and add test
Fixes https://github.com/microsoft/vscode/issues/80644
2019-09-16 15:38:05 +02:00
Alex Ross
8601a47040
Update cpp grammar to handle macros (#80974) 2019-09-16 12:27:51 +02:00
Martin Aeschlimann
dd7daae7de associate .i with c 2019-09-11 10:27:02 +02:00
Martin Aeschlimann
7df2c87e94
Merge pull request #80187 from Heromyth/master
Add .c++ externsion support for CPP
2019-09-02 14:46:01 +02:00
Alex Ross
3ac5830dcf Update grammars 2019-09-02 11:39:10 +02:00
heromyth
69c9f545d1 Add c++ externsion support for CPP 2019-09-02 11:33:57 +08:00
Alex Ross
c587f23553 Use version of C++ grammar from 1.37.1
There is an issue in the current version of the grammar that causes duplicate scopes. Until that's fixed, rolling back
2019-08-27 11:42:11 +02:00
Alex Ross
d0c08100fa Update C grammars 2019-08-13 10:42:35 +02:00
Alex Ross
bdd162c53a Fix spaghetti in test file 2019-08-12 15:57:29 +02:00
Alex Ross
91da8dc700 Update C++ grammar for insiders to get hang fix
Fixes #78769
2019-08-12 15:01:26 +02:00
Alex Ross
edf34d3931 Update grammars 2019-08-05 12:44:23 +02:00
Martin Aeschlimann
bdcada7660 C/C++ .i header files taken as plain text. Fixes #73089 2019-07-29 16:48:24 +02:00
Alex Ross
98fa77a679 Remove multiline comment auto closing pair for C++
Part of #77008
2019-07-29 13:06:03 +02:00
Alex Ross
0fa33a2cfb Change C++ auto closing comment start from /* to /**
Fixes #77008
2019-07-10 10:06:05 +02:00
Alex Ross
922ab6db62 Update grammar script to include option path for version
Update C grammars to get macro fix
2019-07-09 10:47:13 +02:00
Alex Ross
b07ff48eae Add a test for * bug in C++ grammar
Fixes #76774
2019-07-08 17:53:03 +02:00