Files
vscode/extensions/dotenv/package.json
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

49 lines
1.1 KiB
JSON

{
"name": "dotenv",
"displayName": "%displayName%",
"description": "%description%",
"version": "1.0.0",
"publisher": "vscode",
"license": "MIT",
"engines": {
"vscode": "*"
},
"scripts": {
"update-grammar": "node ../node_modules/vscode-grammar-updater/bin dotenv-org/dotenv-vscode syntaxes/dotenv.tmLanguage.json ./syntaxes/dotenv.tmLanguage.json"
},
"categories": ["Programming Languages"],
"contributes": {
"languages": [
{
"id": "dotenv",
"extensions": [
".env"
],
"filenames": [
".env",
".flaskenv",
"user-dirs.dirs"
],
"filenamePatterns": [
".env.*"
],
"aliases": [
"Dotenv"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "dotenv",
"scopeName": "source.dotenv",
"path": "./syntaxes/dotenv.tmLanguage.json"
}
]
},
"repository": {
"type": "git",
"url": "https://github.com/microsoft/vscode.git"
}
}