wso2 / ballerina-vscode

To keep Ballerina VSCode plugin related issues, discussions, etc.
Apache License 2.0
41 stars 20 forks source link

Configurations of modules are generated without module name #547

Open anupama-pathirage opened 4 months ago

anupama-pathirage commented 4 months ago

Description:

Assume a package with modules similar to below. And each module including default module has configurable variables.

image

Then when the vscode run code lens is used, it is asking to generate the config. When the config is generated it is not adding the module name to the toml, so it will result in error and user has to manually add it.

Steps to reproduce:

https://github.com/wso2/ballerina-vscode/assets/16300038/9ee03fe7-dc18-4ea7-9bb6-406fee7511e7

Refer to the video below.

Affected Versions:

OS, DB, other environment details and versions:

Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):