vscode-sqltools
vscode-sqltools copied to clipboard
Using VS Code Variables In Settings
I've been trying to set up a connection such as:
"sqltools.connections": [
{
"previewLimit": 50,
"server": "localhost",
"port": 5432,
"driver": "PostgreSQL",
"name": "my-app",
"socketPath": "${workspaceFolder}/build/db/.s.PGSQL.5432",
"connectString": "postgresql:///app?host=${workspaceFolder}/build/db",
"password": ""
}
]
However, it seems that variables are not supported. Is there any other way to achieve something similar without hard coding full path?
See also https://github.com/mtxr/vscode-sqltools/issues/703#issuecomment-698754168