Closed
Description
Currently, when launching a Java application, a single envFile is supported. It would be nice of environment variables could be defined from multiple environment files.
This is supported in other vscode extensions (this is one for example, microsoft/vscode-go#1746)
Environment
- Operating System:
- JDK version:
- Visual Studio Code version:
- Java extension version:
- Java Debugger extension version:
Steps To Reproduce
- Try to define an Array of envFile locations when launching a Java application
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "java",
"name": "May Application",
"request": "launch",
"cwd": "${workspaceFolder}",
"mainClass": "org.csea.myapp.MyApplication",
"projectName": "myapp",
"envFile": [
"${workspaceFolder}/envs/.env1",
"${workspaceFolder}/envs/.env2"
]
}
]
}
Current Result
Expected Result
Additional Informations
Metadata
Assignees
Labels
No labels