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

Launcher to support multiple envFiles #1505

Closed
hildo opened this issue Aug 22, 2024 · 4 comments
Closed

Launcher to support multiple envFiles #1505

hildo opened this issue Aug 22, 2024 · 4 comments

Comments

@hildo
Copy link
Contributor

hildo commented Aug 22, 2024

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
  1. 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
@testforstephen
Copy link
Contributor

this has been supported by #1506

@hildo
Copy link
Contributor Author

hildo commented Sep 2, 2024

Thank you for that... what is the best way to get notified when a release of the plugin containing these changes will be available?

@testforstephen
Copy link
Contributor

The pre-release v0.58.2024090204 is just released. The stable release usually happens at the end of the month.

@hildo
Copy link
Contributor Author

hildo commented Sep 2, 2024

Thank you sir!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants