Skip to content

.devdbrc not detected in multi root projects #68

@bilogic

Description

@bilogic

Extension Version

1.13.2

OS and Version

Ubuntu 22.04

VS Code Version

1.92.2

Database name and Version

mysql 8.0.37

Steps to reproduce

[
  {
    "name": "My test MySQL database", // <-- to identify the connection
    "type": "mysql", // <- or "mariadb" if you are using MariaDB
    "host": "...",
    "port": "...",
    "username": "...",
    "password": "...",
    "database": "..." // <-- the database to show in VS Code DevDb view
  }
]
{
    "folders": [
        {
            "path": "."
        },
    ]
}

Partial contents of my .code-workspace file. The contents of .devdbrc do not appear in the UI.

Expected behavior

Expected the database connection to show up on the UI

Screenshots

image
Only this appears

Additional context

It might be more apt to have connections stored in the inheritable model of VSCode user/workspace settings.

This has many benefits including allow each developer to have their own DB connection/settings rather than have .devdbrc commited into git

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions