Conversation
🦋 Changeset detectedLatest commit: f71c7d1 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Hi guys, I stumbled upon your repo on twitter and as something I know I'll use to the max I just wanted to add my 2 cents and implement autocomplete bc I was missing that in regular usage. I'm not emotionally attached to this PR and you can close it if you think this is too much but I thought it would be good to have intellisense bc of how concrete the tool is. Keep up the good work! Greetings from Croatia, Mat |
|
this is AMAZING 🧙♂️ Better intellisense has been on the to-do list but I just hadn't gotten back to it yet. Still lots of fun future things to do in the future, but this is a huge improvement! |
Thanks ^^ there's still some things lacking (ex. env keys aren't validated the same way as direct values) but for v1 I think it's a big improvement. Would love to get to a point where the schema can validate my actual sibling env files or smth like that, would save me a lot of headaches |
|
not quite sure what you mean by "Would love to get to a point where the schema can validate my actual sibling env files or smth like that, would save me a lot of headaches" but would love to help. hop in the discord - https://chat.dmno.dev |
Kind of like you define a schema via |
Summary
This PR upgrades the
@env-specVS Code extension with a much more complete editing experience for schema-style.envfiles.It adds:
@type=values, type options, resolver functions, and$KEYreferences@type=enum(...)@typemismatchesDemo
Decorator and
@typecompletionGeneral type option completion
Email-specific option completion
Enum value completion
Variable reference completion
Incompatible decorator filtering and diagnostics
Prefix-related completion or validation
prependHttpsURL validationTest Plan
bun run --filter env-spec-language buildbun run --filter env-spec-language test:cibun run lint:fixF5from the repo root and manually verify completions and diagnostics in a.env/.env.schemafileNotes