continue icon indicating copy to clipboard operation
continue copied to clipboard

[Enhancement] Load context provider database details from a workspace setting

Open sealad886 opened this issue 1 year ago • 0 comments

Validations

  • [X] I believe this is a way to improve. I'll try to join the Continue Discord for questions
  • [X] I'm not able to find an open issue that requests the same enhancement

Problem

I'll use the postgresql context provider as an example:

{
      "name": "postgres",
      "host": "localhost",
      "port": 5432,
      "user": "user",
      "password": "password",
      "database": "database"
}

These settings get hard-coded into the config.json file, but it would make more sense to load database connection information from the workspace or from a local project config file.

Solution

Implement one or more additional ways to set the connection and login information, including loading from workspace-specific settings in VSCode, from a file in the local open project, or even maybe prompt user when used for the first time within this session.

sealad886 avatar Aug 05 '24 11:08 sealad886