Use dotenv for reading env files #3437
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Is your feature request related to a problem? Please describe.
Current implementation does not support multiline env variables, example below won't read past the first line:
Describe the solution you'd like
It looks like several other adapters switched to using dotenv:
Describe alternatives you've considered
Additional context
Here's the current implementation: https://github.com/golang/vscode-go/blob/master/extension/src/utils/envUtils.ts#L32-L44
The change is fairly simple as env parsing code is identical in all extensions:
The text was updated successfully, but these errors were encountered: