Commit graph

72 commits

Author SHA1 Message Date
Ryan Zoeller
d465e988f1
Register .mak extension for the Make language (#122614)
Associate the .mak extension with the Make language. This extension is commonly used for files included by Makefiles, and is recognized by GitHub's language detection: 32ec19c013/lib/linguist/languages.yml (L3282).

This PR fixes #122613.

Tested change by created a file with the .mak extension, and opening it in VS Code. The Language Mode was automatically set to 'Makefile'.
2021-05-03 16:03:05 +02:00
Alex Ross
6949fed6ed Update grammars and fix julia update script for Windows 2021-03-03 17:26:09 +01:00
Alex Ross
0f17001790 Fix update-grammar scripts for cross-platform use 2021-02-08 15:39:56 +01: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
a63786db23 Add paren, bracket, and brace to autoclosing pairs for make
Fixes #89191
2020-12-03 15:53:01 +01:00
Alex Ross
520a050cd3 Add quotes to autoClosingPairs for make
Fixes #89191
2020-11-05 12:13:53 +01:00
Alexander Fadeev
fdf62a024c
Add new Makefile test case for upgraded syntax rules (#101719) 2020-07-06 15:19:43 +02:00
Alex Ross
0b1d1bc464 Update grammars 2020-07-06 13:43:31 +02:00
Matt Bierner
040034f7ae Update colorizer baselines 2020-05-26 16:22:50 -07:00
Alexandr Fadeev
7ee0e02883 Makefile testcase for updated scheme to support the following: var:=$(val:.c=.o) (#83121) 2019-10-23 10:45:07 +02:00
Alex Ross
7e3d3a5c92 Update make grammar 2019-10-23 10:31:08 +02:00
Alex Ross
3ac5830dcf Update grammars 2019-09-02 11:39:10 +02:00
Aurélien Pupier
7a5bca9faf Add License field to package.jsons #68423 (#68771)
it should avoid to have "warning XXX: No license field" during yarn
build

Signed-off-by: Aurélien Pupier <apupier@redhat.com>
2019-06-06 11:44:50 +02:00
Alex Ross
96410ff870 Update grammars 2019-06-03 12:01:42 +02:00
Alexandr Fadeev
6b7c8f3d77 Makefile test case about the bug fix with "@,-,+" colorizing in the recipe (#72265)
Bug: regex [@-+] means "from @ to +", so "." and "\" was also colorized.
Bug is fixed in make.tmbundle, test case is added to vscode.
Update make grammar
2019-04-16 11:41:37 +02:00
Alex Ross
da82ae40c8
Merge pull request #67921 from fadeevab/makefile-update
Makefile colorizing tests - handling variable expansion in a variable name
2019-02-06 15:54:55 +01:00
Alex Ross
b0b6dc6c2e Update grammars to pick up make changes
and fix hashes.
2019-02-06 15:16:49 +01:00
Alexandr Fadeev
e911796b8a Makefile colorizing tests - handling variable expansion in a variable name in assignment: var-$(another-var) := value 2019-02-05 14:57:06 +02:00
Alexandr Fadeev
f3552ec84d Makefile grammar updating: tests are updated about the handling of @, - and +. (#65629)
1. @, - and + in the beginning of recipes are colored.
2. Shell in recipes is not colored by shellscript extension anymore:
improper colorizing of Makefile variables, low suitability.
2019-02-04 11:11:03 +01:00
Alex Ross
154ba178c2 Update make grammar 2019-01-03 16:08:09 +01:00
isidor
9edd984da8 delete OSSREADME.json 2018-11-20 12:54:22 +01:00
isidor
2ba92aa3e8 add commitHash to cgmanifest 2018-11-15 17:43:46 +01:00
isidor
347fb6347b add all cgmanifests. Still no commitHash 2018-11-14 18:18:25 +01:00
Alexandr Fadeev
e99942ccc3 Update makefile colorize tests according to the latest grammar. (#61961)
1. Handling the '!=' variable assignment operator.
2. Handling the "#" (hashtag) in the quotes inside the recipe.
3. Restore the recipe handling.

Issue: #60030, #61475
2018-11-06 12:55:25 +01:00
Alex Ross
c71f524777 Updated grammars 2018-11-06 11:39:33 +01:00
Alex Dima
34e7a220c8 Avoid shipping unnecessary files 2018-09-19 19:53:46 +02:00
Martin Aeschlimann
e482fad1f0 [make] update grammar (fixes #55256) 2018-08-06 11:06:05 +02:00
Alexandr Fadeev
374c626c06 Tests about to check the improvements: ${}, $$, and $(shell ()).
Current issue: https://github.com/Microsoft/vscode/issues/55256,
"[makefile] highlighting issues with variable definitions and shell commands".
2018-08-05 00:06:16 +03:00
Martin Aeschlimann
c640a0ed5c adopt color changes in colorizer tests 2018-07-27 11:02:03 +02:00
Matt Bierner
afc3d77e7c Don't treat interpolated strings in make files as content strings
These are more like expression instead of strings

Fixes #38078
2018-07-18 19:09:46 -07:00
Matt Bierner
a04a714fa3 Format 2018-07-18 19:08:07 -07:00
Martin Aeschlimann
e993d1179d file line detection: allow whitespace after shebang 2018-06-21 10:24:50 +02:00
Matt Bierner
ac69540858 Updating tests for light+ escape coloring grammar changes 2018-04-28 17:54:54 -07:00
Greg Van Liew
b3a1b98d54 Edit pass on built-in extension descriptions (#44875) 2018-03-01 16:43:06 -08:00
Ramya Achutha Rao
15d0e9b30b Remove and other language features from description of basic builtin extensions #44626 2018-02-27 18:15:50 -08:00
Martin Aeschlimann
8bd41ceeca built-in extensions: version to 1.0.0 (for #43978) 2018-02-27 15:16:07 +01:00
Martin Aeschlimann
292a290e3f Rename built-in syntax and snippet extensions to "Language Basics". Fixes #44241 2018-02-26 21:27:22 +01:00
Martin Aeschlimann
e45d279b36 description & name for built-in languages (#43978) 2018-02-20 10:09:22 +01:00
Martin Aeschlimann
8fdf170a08 update grammar script: remove unused properties 2018-02-12 16:54:46 +01:00
Martin Aeschlimann
3495363b2c make grammar file names consistent 2018-02-09 12:45:27 +01:00
David Lechner
cabc8385d1
Add firstline match for Makefile
Some makefiles don't have a file extension and are not named "*Makefile*" but have a shebang that can be used to identify it as a makefile. Example: `debian/rules` in all Debian packages.
2017-11-11 10:47:31 -06:00
Matt Bierner
845fa13b41 Tweak colorization of regexp for light+ and dark+ 2017-09-14 14:45:35 -07:00
Matt Bierner
43cb3b41ac Continue tweaking default dark and light colorization for escape characters and regular expressions 2017-09-13 10:40:07 -07:00
Martin Aeschlimann
4e430f7082 [make] update grammar 2017-09-08 10:47:06 +02:00
Martin Aeschlimann
92a314f187 [make] typo in OSSREADME 2017-08-21 17:15:01 +02:00