Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update .env extension names and tmLanguage file #15

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}" ]
"args": [
"--extensionDevelopmentPath=${workspaceRoot}"
]
}
]
}
}
50 changes: 27 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,36 +34,40 @@
"env"
],
"extensions": [
".flaskenv",
".env",
".env-sample",
".env.example",
".env.local",
".env.dev",
".env.dev.local",
".env.build",
".env.build.local",
".env.development",
".env.build",
".env.dev.local",
".env.dev",
".env.development.local",
".env.test",
".env.test.local",
".env.testing",
".env.qa",
".env.development",
".env.dist",
".env.dusk.local",
".env.example",
".env.live.local",
".env.live",
".env.local",
".env.prod.local",
".env.prod",
".env.production.local",
".env.production",
".env.qa.local",
".env.uat",
".env.uat.local",
".env.stag",
".env.qa",
".env.sample",
".env.stag.local",
".env.stage",
".env.stag",
".env.stage.local",
".env.staging",
".env.stage",
".env.staging.local",
".env.live",
".env.live.local",
".env.production",
".env.production.local",
".env.prod",
".env.prod.local"
".env.staging",
".env.test.local",
".env.test",
".env.testing",
".env.uat.local",
".env.uat",
".env",
".envrc",
".flaskenv"
],
"configuration": "./language-configuration.json"
}
Expand Down
24 changes: 22 additions & 2 deletions syntaxes/env.YAML-tmLanguage
Original file line number Diff line number Diff line change
@@ -1,8 +1,28 @@
# [PackageDev] target_format: plist, ext: tmLanguage
# [PackageDev] target_format: plist,
ext: tmLanguage
---
name: DotENV
scopeName: source.env
fileTypes: [".env", ".env-sample", ".env.example", ".env.local", ".env.dev", ".env.test", ".env.testing", ".env.production", ".env.prod"]
fileTypes: [
".env-sample",
".env.dev",
".env.development.local",
".env.development",
".env.dist",
".env.dusk.local",
".env.example",
".env.local",
".env.prod",
".env.production.local",
".env.production",
".env.sample",
".env.test.local",
".env.test",
".env.testing",
".env",
".envrc",
".flaskenv"
]
uuid: 09d4e117-0975-453d-a74b-c2e525473f97

patterns:
Expand Down
Loading