Commit Graph

33 Commits

Author SHA1 Message Date
Remco Haszing
ec7b5e7fa4 Add dotenv support (#273074)
* Add dotenv support

This adds basic language support for the dotenv language. This includes
syntax highlighting and a language configuration file.

The dotenv language is applied to files with the `.env` extension, files
named `.env`, `.flaskenv`, or `user-dirs.dirs`, and file names starting
with `.env.`.

The grammar is downloaded from https://github.com/dotenv-org/dotenv-vscode.

Closes #267333

* Add tests

* Remove ini and shellscript language conflicting with dotenv

---------

Co-authored-by: Alex Ross <38270282+alexr00@users.noreply.github.com>
2025-10-30 09:51:57 +00:00
Alex Ross
72069925ae Add .*.env for ini
Fixes #247055
2025-04-22 10:57:32 +02: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
Nathan Garside
1835eb7684 Add syntax highlighting for *.repo files (#199859)
Add syntax highlighting for *.repo files
2023-12-05 12:25:46 +01:00
Raymond Zhao
f20ca3aa50 Mark packages as private (#193414) 2023-09-19 00:30:01 +01:00
Trond Einar Snekvik
83248ce374 Default to config icon for the property language (#158454) 2022-09-26 07:00:07 -07:00
Martin Aeschlimann
e225afee30 Add syntax highlighting for .env files without extensions (#155298)
Add syntax highlighting for .env files without extensions. Fixes #154111
2022-07-15 12:24:40 +00: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
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
NotWearingPants
05a8e34caa Treat all files with git{config,attributes,modules}/editorconfig extensions as properties files 2020-07-25 22:29:05 +03:00
Remco Haszing
24b61e19cd Add syntax highlighting for .gitmodules 2019-06-12 13:21:34 +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
2472084ffc Remove .desktop from ini extention
Fixes #74866
2019-06-05 16:08:26 +02:00
Remco Haszing
dc20cfcc4f mark .config/git/config as properties file
Git suppots the XDG base directory standard for its global configuration file.
This defaults to ~/.config/git/config. Now VSCode also highlights this file
properly as long as it’s in the default location.
2019-06-03 20:27:35 +02:00
Rob Lourens
ec0499a9dc Don't register "ini" for all files named "config" 2019-03-31 01:12:15 +00:00
Arnie97
73b9d4b7e0 Update file extensions for the ini language
freedesktop.org desktop entries:
https://wiki.archlinux.org/index.php/Desktop_entries

.gitconfig:
https://git-scm.com/docs/git-config#FILES
2018-03-14 12:54:13 +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
e45d279b36 description & name for built-in languages (#43978) 2018-02-20 10:09:22 +01:00
Martin Aeschlimann
d57a3ab57e [ini] add update script 2017-05-26 09:27:48 +02:00
Huachao Mao
4c06676eb8 Add .conf and .cfg file extensions for ini language
follow https://en.wikipedia.org/wiki/INI_file
2016-11-15 22:02:44 +08:00
Huachao Mao
96a579c9d4 Add .cfg in properties mode and update case of properties 2016-11-10 00:22:20 +08:00
Martin Aeschlimann
82d17905f1 [ini] remove ini.tmlanguage 2016-10-27 17:00:54 +02:00
Yuki Ueda
87af697987 type propaties to properties 2016-10-19 10:40:23 +09:00
Yuki Ueda
11b0a73c6d fix ini #13648 #8709 2016-10-18 16:16:52 +09:00
Martin Aeschlimann
4a13944af6 Migrate all other languages to language-configuration.json 2016-07-21 20:30:37 +02:00
Martin Aeschlimann
13c92ec06e Linux "desktop entries" (.desktop) aren't colored very well by ini language. Fixes #7155 2016-06-15 22:11:58 +02:00
Brenton Horne
5d0a37657a Update package.json 2016-05-20 19:48:19 +10:00
Benjamin Pasero
28bc39ae48 gitconfig => ini mode 2016-03-11 11:58:30 +01:00
Erich Gamma
8f35cc4768 Hello Code 2015-11-13 14:39:38 +01:00