Commit Graph

87 Commits

Author SHA1 Message Date
Alex Ross
5c213a1e84
Update grammars (#211439) 2024-04-26 04:52:52 -07:00
Alex Ross
b557947e50
Update grammars (#209932) 2024-04-09 12:20:39 +02:00
Alex Ross
6285faddc6
Update shellscript grammar (#207828) 2024-03-15 12:52:46 +01:00
Sandeep Somavarapu
1e0580ec23
Use categories for builtin extensions groups (#202453)
* support grouping of extensions

* remove grouping

* reuse categories parsing

* cleanup

* fix tests
2024-01-14 18:19:29 +01:00
Alex Ross
a16d8d0a3e
Update shellscript grammar (#193488) 2023-09-19 09:33:30 -07:00
Alex Ross
ca6ebd67d1
Update shellscript grammar (#187811) 2023-07-13 14:09:30 +02:00
Alex Ross
d77e53a2b3
Update shellscript grammar (#179758) 2023-04-12 13:39:51 +01: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
Tobias Hernstig
c612c5d163
Add shellscript filenamePatterns for .env.* (#173426)
* Add shellscript `filenamePatterns` for `.env*`

In some cases, projects use `.env` files such as `.env.development`
or `.env.production` or similar things.

Adding this to extensions/shellscript/package.json as a
`filenamePatterns` avoids developers having to add specific
`"files.associations"` to their VS Code settings files.

Fixes #173425

* Change pattern from .env* to .env.*
2023-02-10 14:22:32 +00: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
Alex Ross
fcb4dd3b18
Try out new shellscript grammar! (#169118)
Part of #77675
2022-12-14 12:52:31 +01:00
Daniel Imms
5c2cbe2b7d
Add .fish to shell script language 2022-08-09 08:19:27 -07:00
Alex Ross
01cfc62ead
Update shellscript grammar and add new test 2022-04-12 16:49:52 +02:00
Henning Dieterichs
9aaa850fe4
Adopts "containsBalancedBrackets" flag from vscode/text-mate. 2022-04-07 00:42:19 +02:00
Martin Aeschlimann
73c6f34f9e Do not recognize Debian's .install file as a shell script. Fixes #124295 2021-05-21 11:20:33 +02:00
Yongming Lai
151c7d5dff
Recognise commonly sourced files as shellscript (#121373)
Added files commonly sourced by display managers.

- `.xsession` and its variants referenced in `/etc/X11/Xsession`
- `.xprofile` referenced in `/etc/gdm3/Xsession`

This PR fixes #121372.
2021-04-15 16:32:02 +02: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
Aditya Thakral
242781566c Support more shell script file extensions 2020-05-12 17:49:35 -04:00
Aditya Thakral
a33d16d97e Convert extension array to multiline array 2020-05-12 17:44:39 -04:00
Helloimbob
59391f4636
Merge branch 'master' into patch-1 2020-02-20 21:01:59 +00:00
Helloimbob
e7f9230340
Autodetect csh script as shellscript
Identify csh scripts (file extenstion `.csh` or `#!/usr/bin/csh` in first line) as shellscript.
2020-02-17 15:51:57 +00:00
John Blackbourn
97831cfa80
Treat .envrc files as Shell scripts 2020-02-17 13:57:34 +00:00
Martin Aeschlimann
e9bb8b306c do not autoclose quotes when in strings. Fixes #88265 2020-01-09 10:34:43 +01:00
Martin Aeschlimann
daaf92b5bc [shellscript] Make \n the default eol. Fixes #49418 2019-10-08 14:53:24 +02:00
Jakub Čábera
e82130da4b
shellscript: Add folding markers 2019-06-20 11:13:15 +02:00
TBK
bdc1fd4234
Add support for APKBUILD
APKBUILD is the build shell script format for Alpine Linux aports (packages - .apk) - https://wiki.alpinelinux.org/wiki/APKBUILD_Reference
2019-06-18 16:55:48 +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
William Whittle
6764b4c70a Add 'qsh' as a valid shellscript firstline
This is the shell on IBM i
2019-04-26 13:45:36 +01:00
Martin Aeschlimann
a721a6c236 Add 'ash' as a valid shellscript firstline. Fixes #71426 2019-04-01 15:37:07 +02:00
Alex Ross
6c6cd0aab4 Update grammars 2018-12-12 17:25:07 +01:00
isidor
9edd984da8 delete OSSREADME.json 2018-11-20 12:54:22 +01:00
Alex Dima
976cfe3aa7 Merge branch 'master' into isidorn/cgmanifest 2018-11-16 17:52:27 +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
jokurz
21f8789726 Autodetect ksh scripts as shellscript (#62838)
Identify ksh scripts (file extenstion `.ksh` or `#!/usr/bin/ksh` in first line) as shellscript. Fixes #39096
2018-11-13 11:27:47 +01:00
Alex Dima
34e7a220c8 Avoid shipping unnecessary files 2018-09-19 19:53:46 +02:00
Martin Aeschlimann
c640a0ed5c adopt color changes in colorizer tests 2018-07-27 11:02:03 +02:00
Greg Van Liew
b3a1b98d54 Edit pass on built-in extension descriptions (#44875) 2018-03-01 16:43:06 -08:00